summaryrefslogtreecommitdiff
path: root/package/cryptsetup
diff options
context:
space:
mode:
Diffstat (limited to 'package/cryptsetup')
-rw-r--r--package/cryptsetup/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/package/cryptsetup/Makefile b/package/cryptsetup/Makefile
index d0dd12b21..c98e2e8ac 100644
--- a/package/cryptsetup/Makefile
+++ b/package/cryptsetup/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= cryptsetup
PKG_VERSION:= 1.3.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 1f5b5a9d538e8a3c191fb7dd85b9b013
PKG_DESCR:= LUKS cryptsetup tools
PKG_SECTION:= crypto
@@ -15,9 +15,7 @@ PKG_DEPENDS+= kmod-crypto-sha256 kmod-blk-dev-dm libgcc
PKG_BUILDDEP:= libgcrypt popt e2fsprogs lvm
PKG_URL:= http://cryptsetup.googlecode.com/
PKG_SITES:= http://cryptsetup.googlecode.com/files/
-
-PKG_SUBPKGS:= CRYPTSETUP CRYPTSETUP_DEV
-PKGSC_CRYPTSETUP_DEV:= devel
+PKG_OPTS:= dev
PKG_ARCH_DEPENDS:= !cris
@@ -25,22 +23,16 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,CRYPTSETUP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,CRYPTSETUP_DEV,cryptsetup-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_CRYPTSETUP_DEV}))
+$(eval $(call PKG_template,CRYPTSETUP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
CONFIGURE_ARGS+= --disable-selinux
-post-install:
+cryptsetup-install:
${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 \
${IDIR_CRYPTSETUP}/usr/sbin
-cryptsetup-dev-install:
- ${INSTALL_DIR} ${IDIR_CRYPTSETUP_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* \
- ${IDIR_CRYPTSETUP_DEV}/usr/include
-
include ${TOPDIR}/mk/pkg-bottom.mk