summaryrefslogtreecommitdiff
path: root/package/cryptsetup
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/cryptsetup
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/cryptsetup')
-rw-r--r--package/cryptsetup/Makefile12
-rw-r--r--package/cryptsetup/ipkg/cryptsetup.control5
2 files changed, 8 insertions, 9 deletions
diff --git a/package/cryptsetup/Makefile b/package/cryptsetup/Makefile
index 18bf00756..58c2c4ce3 100644
--- a/package/cryptsetup/Makefile
+++ b/package/cryptsetup/Makefile
@@ -9,12 +9,17 @@ PKG_NAME:= cryptsetup
PKG_VERSION:= 1.0.6
PKG_RELEASE:= 1
PKG_MD5SUM:= 00d452eb7a76e39f5749545d48934a10
+PKG_DESCR:= LUKS cryptsetup tools
+PKG_SECTION:= crypto
+PKG_DEPENDS:= libgcrypt device-mapper libuuid libpopt
+PKG_URL:= http://cryptsetup.googlecode.com
+PKG_SITES:= http://cryptsetup.googlecode.com/files/
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-MASTER_SITES:= http://cryptsetup.googlecode.com/files/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,CRYPTSETUP,cryptsetup,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,CRYPTSETUP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --disable-static
@@ -22,8 +27,7 @@ BUILD_STYLE:= auto
INSTALL_STYLE:= auto
post-install:
- ${INSTALL_DIR} ${IDIR_CRYPTSETUP}/usr/sbin
- ${INSTALL_DIR} ${IDIR_CRYPTSETUP}/usr/lib
+ ${INSTALL_DIR} ${IDIR_CRYPTSETUP}/usr/sbin ${IDIR_CRYPTSETUP}/usr/lib
${CP} ${WRKINST}/usr/lib/libcryptsetup.so.* \
${IDIR_CRYPTSETUP}/usr/lib
${INSTALL_BIN} ${WRKINST}/usr/sbin/cryptsetup \
diff --git a/package/cryptsetup/ipkg/cryptsetup.control b/package/cryptsetup/ipkg/cryptsetup.control
deleted file mode 100644
index f23b5bf4d..000000000
--- a/package/cryptsetup/ipkg/cryptsetup.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: cryptsetup
-Priority: optional
-Section: crypto
-Depends: libgcrypt, device-mapper, libuuid, libpopt
-Description: LUKS cryptsetup tools