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
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
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}))
23 INSTALL_STYLE
:= manual
26 ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
27 -o
${WRKBUILD}/alix-switchd
${WRKBUILD}/alix-switchd.c
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