summaryrefslogtreecommitdiff
path: root/package/gdbm
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/gdbm
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/gdbm')
-rw-r--r--package/gdbm/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/package/gdbm/Makefile b/package/gdbm/Makefile
index bd6c369ee..b880623a9 100644
--- a/package/gdbm/Makefile
+++ b/package/gdbm/Makefile
@@ -5,21 +5,17 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= gdbm
PKG_VERSION:= 1.8.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 1d1b1d5c0245b1c00aff92da751e9aa1
PKG_DESCR:= disk file format database
PKG_SECTION:= libs
PKG_URL:= http://www.gnu.org/software/gdbm/
PKG_SITES:= ${MASTER_SITE_GNU:=gdbm/}
-
-PKG_SUBPKGS:= LIBGDBM LIBGDBM_DEV
-PKGSC_LIBGDBM_DEV:= devel
-PKGSD_LIBGDBM_DEV:= libgdbm headers
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBGDBM,libgdbm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBGDBM_DEV,libgdbm-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGDBM_DEV},${PKGSC_LIBGDBM_DEV}))
+$(eval $(call PKG_template,LIBGDBM,libgdbm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
XAKE_FLAGS+= BINOWN=`id -u` \
BINGRP=`id -g` \
@@ -29,8 +25,4 @@ libgdbm-install:
${INSTALL_DIR} ${IDIR_LIBGDBM}/usr/lib
${CP} ${WRKINST}/usr/lib/libgdbm.so* ${IDIR_LIBGDBM}/usr/lib
-libgdbm-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBGDBM_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBGDBM_DEV}/usr/include
-
include ${TOPDIR}/mk/pkg-bottom.mk