summaryrefslogtreecommitdiff
path: root/package/swconfig
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/swconfig
parentbbd610f15a71b27c955175cb98392b114717fd47 (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/swconfig')
-rw-r--r--package/swconfig/Makefile8
-rw-r--r--package/swconfig/ipkg/swconfig.control4
2 files changed, 5 insertions, 7 deletions
diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile
index 105c612b7..34e902b13 100644
--- a/package/swconfig/Makefile
+++ b/package/swconfig/Makefile
@@ -8,14 +8,16 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= swconfig
PKG_VERSION:= 1.0
PKG_RELEASE:= 1
+PKG_DESCR:= switch configuration utility
+PKG_SECTION:= misc
+
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}
NO_DISTFILES:= 1
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,SWCONFIG,swconfig,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,SWCONFIG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-#XAKE_FLAGS:= LIBS="$(STAGING_DIR)/usr/lib/libnl.a -lm"
XAKE_FLAGS:= LIBS="-lnl -lm" CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include"
BUILD_STYLE:= auto
@@ -25,6 +27,6 @@ do-configure:
do-install:
${INSTALL_DIR} ${IDIR_SWCONFIG}/sbin
- ${INSTALL_BIN} ${WRKBUILD}/swconfig ${IDIR_SWCONFIG}/sbin/swconfig
+ ${INSTALL_BIN} ${WRKBUILD}/swconfig ${IDIR_SWCONFIG}/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/swconfig/ipkg/swconfig.control b/package/swconfig/ipkg/swconfig.control
deleted file mode 100644
index b47596c0d..000000000
--- a/package/swconfig/ipkg/swconfig.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: swconfig
-Priority: optional
-Section: base
-Description: switch configuration utility