summaryrefslogtreecommitdiff
path: root/package/libgdbm
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libgdbm
Initial import
Diffstat (limited to 'package/libgdbm')
-rw-r--r--package/libgdbm/Config.in9
-rw-r--r--package/libgdbm/Makefile33
-rw-r--r--package/libgdbm/ipkg/libgdbm.control4
3 files changed, 46 insertions, 0 deletions
diff --git a/package/libgdbm/Config.in b/package/libgdbm/Config.in
new file mode 100644
index 000000000..f644ae473
--- /dev/null
+++ b/package/libgdbm/Config.in
@@ -0,0 +1,9 @@
+config ADK_PACKAGE_LIBGDBM
+ prompt "libgdbm........................... The GNU database manager"
+ tristate
+ default n
+ help
+ disk file format database which stores key/data-pairs in single files.
+
+ http://www.gnu.org
+
diff --git a/package/libgdbm/Makefile b/package/libgdbm/Makefile
new file mode 100644
index 000000000..2677c9a3b
--- /dev/null
+++ b/package/libgdbm/Makefile
@@ -0,0 +1,33 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= libgdbm
+PKG_VERSION:= 1.8.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 1d1b1d5c0245b1c00aff92da751e9aa1
+
+MASTER_SITES:= ${MASTER_SITE_GNU:=gdbm/}
+DISTFILES:= gdbm-${PKG_VERSION}.tar.gz
+
+WRKDIST= ${WRKDIR}/gdbm-${PKG_VERSION}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBGDBM,libgdbm,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+XAKE_FLAGS+= BINOWN=`id -u` \
+ BINGRP=`id -g` \
+ INSTALL_ROOT="${WRKINST}"
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBGDBM}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libgdbm.so.* ${IDIR_LIBGDBM}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libgdbm/ipkg/libgdbm.control b/package/libgdbm/ipkg/libgdbm.control
new file mode 100644
index 000000000..a05a7ac37
--- /dev/null
+++ b/package/libgdbm/ipkg/libgdbm.control
@@ -0,0 +1,4 @@
+Package: libgdbm
+Priority: optional
+Section: libs
+Description: disk file format database which stores key/data-pairs in single files