summaryrefslogtreecommitdiff
path: root/package/libgpg-error/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libgpg-error/Makefile
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libgpg-error/Makefile')
-rw-r--r--package/libgpg-error/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/package/libgpg-error/Makefile b/package/libgpg-error/Makefile
index 9f19388ac..ac27c3486 100644
--- a/package/libgpg-error/Makefile
+++ b/package/libgpg-error/Makefile
@@ -5,35 +5,23 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libgpg-error
PKG_VERSION:= 1.9
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 521b98aa9395e7eaf0ef2236233a0796
PKG_DESCR:= a helper library for common error codes and descriptions
PKG_SECTION:= libs
PKG_URL:= http://www.gnupg.org/
PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/libgpg-error/
-
-PKG_SUBPKGS:= LIBGPG_ERROR LIBGPG_ERROR_DEV
-PKGSD_LIBGPG_ERROR_DEV:=common error code and description headers
-PKGSC_LIBGPG_ERROR_DEV:=devel
+PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBGPG_ERROR,libgpg-error,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBGPG_ERROR_DEV,libgpg-error-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGPG_ERROR_DEV},${PKGSC_LIBGPG_ERROR_DEV}))
+$(eval $(call PKG_template,LIBGPG_ERROR,libgpg-error,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libgpg-error-install:
${INSTALL_DIR} ${IDIR_LIBGPG_ERROR}/usr/lib
${CP} ${WRKINST}/usr/lib/libgpg-error.so* \
${IDIR_LIBGPG_ERROR}/usr/lib
-libgpg-error-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBGPG_ERROR_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/gpg-error.h \
- ${IDIR_LIBGPG_ERROR_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_LIBGPG_ERROR_DEV}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/gpg-error-config \
- ${IDIR_LIBGPG_ERROR_DEV}/usr/bin
-
include ${TOPDIR}/mk/pkg-bottom.mk