summaryrefslogtreecommitdiff
path: root/package/libgcrypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libgcrypt/Makefile')
-rw-r--r--package/libgcrypt/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/package/libgcrypt/Makefile b/package/libgcrypt/Makefile
index a5369fb61..4a1856d68 100644
--- a/package/libgcrypt/Makefile
+++ b/package/libgcrypt/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libgcrypt
PKG_VERSION:= 1.5.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 78f8f8bec4580f75b25816f7896d0389
PKG_DESCR:= GNU crypto library
PKG_SECTION:= libs
@@ -13,15 +13,11 @@ PKG_DEPENDS:= libgpg-error
PKG_BUILDDEP:= libgpg-error
PKG_URL:= http://directory.fsf.org/project/libgcrypt
PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/libgcrypt/
-
-PKG_SUBPKGS:= LIBGCRYPT LIBGCRYPT_DEV
-PKGSD_LIBGCRYPT_DEV:= GNU crypto headers
-PKGSC_LIBGCRYPT_DEV:= devel
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBGCRYPT,libgcrypt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBGCRYPT_DEV,libgcrypt-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGCRYPT_DEV},${PKGSC_LIBGCRYPT_DEV}))
+$(eval $(call PKG_template,LIBGCRYPT,libgcrypt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ARGS+= --disable-asm \
--with-gpg-error-prefix="${STAGING_TARGET_DIR}/usr"
@@ -31,12 +27,4 @@ libgcrypt-install:
${CP} ${WRKINST}/usr/lib/libgcrypt.so* \
${IDIR_LIBGCRYPT}/usr/lib
-libgcrypt-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBGCRYPT_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* \
- ${IDIR_LIBGCRYPT_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBGCRYPT_DEV}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/libgcrypt-config \
- ${IDIR_LIBGCRYPT_DEV}/usr/bin
-
include ${TOPDIR}/mk/pkg-bottom.mk