diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/wol/Makefile | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (diff) |
optimize ipkg package management
- generate ipkg control file from PKG_* variables
- automatically install init scripts from ./files/*.init
set #PKG pkgname to set the binary package
- rename FWINIT -> INIT
- move postinst and conffiles meta data to ./files
- update the packages to the latest upstream version
- remove some unready or unused package (strongswan,..)
more cleanups needed after allmodconfig
Diffstat (limited to 'package/wol/Makefile')
-rw-r--r-- | package/wol/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/package/wol/Makefile b/package/wol/Makefile index 0bb138c54..858e0cdfa 100644 --- a/package/wol/Makefile +++ b/package/wol/Makefile @@ -9,24 +9,23 @@ PKG_NAME:= wol PKG_VERSION:= 0.7.1 PKG_RELEASE:= 1 PKG_MD5SUM:= c2fa9d7e771134ac8c89d56b8197d4ca - -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=ahh/} +PKG_DESCR:= A Program to send magic Wake-on-LAN packets +PKG_SECTION:= net +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ahh/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,WOL,wol,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,WOL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE:= gnu -CONFIGURE_ARGS+= ac_cv_func_malloc_0_nonnull=yes \ - ac_cv_func_realloc_0_nonnull=yes \ - ac_cv_func_mmap_fixed_mapped=yes \ +CONFIGURE_ARGS+= ac_cv_func_mmap_fixed_mapped=yes \ jm_cv_func_working_malloc=yes \ ac_cv_func_alloca_works=yes BUILD_STYLE:= auto INSTALL_STYLE:= auto post-install: - ${INSTALL_DIR} ${IDIR_WOL}/usr/bin/ + ${INSTALL_DIR} ${IDIR_WOL}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/wol ${IDIR_WOL}/usr/bin/ include ${TOPDIR}/mk/pkg-bottom.mk |