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/sispmctl/Makefile | 10 +++++++--- package/sispmctl/ipkg/sispmctl.control | 5 ----- 2 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 package/sispmctl/ipkg/sispmctl.control (limited to 'package/sispmctl') 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 -- cgit v1.2.3