summaryrefslogtreecommitdiff
path: root/package/scsi-spin
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/scsi-spin
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/scsi-spin')
-rw-r--r--package/scsi-spin/Makefile8
-rw-r--r--package/scsi-spin/ipkg/scsi-spin.control4
2 files changed, 5 insertions, 7 deletions
diff --git a/package/scsi-spin/Makefile b/package/scsi-spin/Makefile
index 7644e3bfd..5f5e84ead 100644
--- a/package/scsi-spin/Makefile
+++ b/package/scsi-spin/Makefile
@@ -9,16 +9,18 @@ PKG_NAME:= scsi-spin
PKG_VERSION:= 1.0
PKG_RELEASE:= 1
PKG_MD5SUM:= d0c32bfc500e94cc1905d9457a99cdbb
-NO_DISTFILES:= 1
+PKG_DESCR:= Utility to spin down scsi disks
+PKG_SECTION:= misc
+NO_DISTFILES:= 1
WRKDIST= ${WRKDIR}/scsi-spin
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,SCSI_SPIN,scsi-spin,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,SCSI_SPIN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
do-build:
- ${TARGET_CC} ${TCFLAGS} -o ${WRKBUILD}/scsi-spin files/scsi-spin.c
+ ${TARGET_CC} ${TARGET_CFLAGS} -o ${WRKBUILD}/scsi-spin files/scsi-spin.c
do-install:
${INSTALL_DIR} ${IDIR_SCSI_SPIN}/usr/sbin
diff --git a/package/scsi-spin/ipkg/scsi-spin.control b/package/scsi-spin/ipkg/scsi-spin.control
deleted file mode 100644
index 3d32f05fe..000000000
--- a/package/scsi-spin/ipkg/scsi-spin.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: scsi-spin
-Priority: optional
-Section: extra
-Description: Utility to spin down scsi disks