summaryrefslogtreecommitdiff
path: root/package/sispmctl
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/sispmctl
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/sispmctl')
-rw-r--r--package/sispmctl/Makefile10
-rw-r--r--package/sispmctl/ipkg/sispmctl.control5
2 files changed, 7 insertions, 8 deletions
diff --git a/package/sispmctl/Makefile b/package/sispmctl/Makefile
index 868940ddd..7ae648c16 100644
--- a/package/sispmctl/Makefile
+++ b/package/sispmctl/Makefile
@@ -9,11 +9,15 @@ PKG_NAME:= sispmctl
PKG_VERSION:= 2.7
PKG_RELEASE:= 1
PKG_MD5SUM:= 2457f76cd129f880634f3381be0aeb76
-MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=sispmctl/}
+PKG_DESCR:= control application for power sockets
+PKG_SECTION:= misc
+PKG_DEPENDS:= libusb
+PKG_URL:= http://sispmctl.sourceforge.net
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sispmctl/}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,SISPMCTL,sispmctl,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,SISPMCTL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
@@ -21,6 +25,6 @@ INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_SISPMCTL}/usr/bin
- ${CP} ${WRKINST}/usr/bin/sispmctl ${IDIR_SISPMCTL}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/sispmctl ${IDIR_SISPMCTL}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sispmctl/ipkg/sispmctl.control b/package/sispmctl/ipkg/sispmctl.control
deleted file mode 100644
index ab192c4c0..000000000
--- a/package/sispmctl/ipkg/sispmctl.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: sispmctl
-Priority: optional
-Section: misc
-Depends: libusb
-Description: control application for power sockets