summaryrefslogtreecommitdiff
path: root/package/cryptsetup/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/cryptsetup/Makefile')
-rw-r--r--package/cryptsetup/Makefile12
1 files changed, 8 insertions, 4 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 \