python3: update to 3.11.10
[openadk.git] / package / alix-switch / Makefile
blobdbc01b8cf47f7cbe263b8b77ac6acb248fd99645
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= alix-switch
7 PKG_VERSION:= 1.0
8 PKG_RELEASE:= 4
9 PKG_DESCR:= daemon listening on button events
10 PKG_SECTION:= sys/misc
11 PKG_URL:= http://www.openadk.org/
13 PKG_SYSTEM_DEPENDS:= pcengines-alix2d2 pcengines-alix2d13
15 NO_DISTFILES:= 1
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,ALIX_SWITCH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIG_STYLE:= manual
22 BUILD_STYLE:= manual
23 INSTALL_STYLE:= manual
25 do-build:
26 ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
27 -o ${WRKBUILD}/alix-switchd ${WRKBUILD}/alix-switchd.c
29 do-install:
30 ${INSTALL_DIR} ${IDIR_ALIX_SWITCH}/usr/sbin ${IDIR_ALIX_SWITCH}/etc
31 ${INSTALL_BIN} ${WRKBUILD}/alix-switchd ${IDIR_ALIX_SWITCH}/usr/sbin
32 ${INSTALL_BIN} ./files/alix-switch ${IDIR_ALIX_SWITCH}/etc
34 include ${ADK_TOPDIR}/mk/pkg-bottom.mk