From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/wol/Makefile | 13 ++++++------- package/wol/ipkg/wol.control | 4 ---- 2 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 package/wol/ipkg/wol.control (limited to 'package/wol') 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 diff --git a/package/wol/ipkg/wol.control b/package/wol/ipkg/wol.control deleted file mode 100644 index 179ba7c86..000000000 --- a/package/wol/ipkg/wol.control +++ /dev/null @@ -1,4 +0,0 @@ -Package: wol -Priority: optional -Section: net -Description: A Program to send magic Wake-on-LAN packets -- cgit v1.2.3