]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
gdbm: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Feb 2010 20:31:41 +0000 (21:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Feb 2010 20:31:41 +0000 (21:31 +0100)
pkgs/core/gdbm/gdbm.nm [new file with mode: 0644]

diff --git a/pkgs/core/gdbm/gdbm.nm b/pkgs/core/gdbm/gdbm.nm
new file mode 100644 (file)
index 0000000..5587015
--- /dev/null
@@ -0,0 +1,56 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME       = gdbm
+PKG_VER        = 1.8.3
+PKG_REL        = 0
+
+PKG_MAINTAINER =
+PKG_GROUP      = Development/Tools
+PKG_URL        = http://www.gnu.org/software/gdbm/
+PKG_LICENSE    = GPL
+PKG_SUMMARY    = The GDBM package contains the GNU Database Manager.
+
+define PKG_DESCRIPTION
+       The GDBM package contains the GNU Database Manager. This is a disk file \
+       format database which stores key/data-pairs in single files. The actual \
+       data of any record being stored is indexed by a unique key, which can be \
+       retrieved in less time than if it was stored in a text file.
+endef
+
+PKG_TARBALL    = $(THISAPP).tar.gz
+
+CONFIGURE_OPTIONS += --mandir=/usr/share/man
+
+define STAGE_PREPARE_CMDS
+       cd $(DIR_APP) && sed -i Makefile.* \
+               -e "s/^BINOWN = .*/BINOWN = root/" \
+               -e "s/^BINGRP = .*/BINGRP = root/"
+endef
+
+define STAGE_INSTALL
+       cd $(DIR_APP) && make install install-compat INSTALL_ROOT=$(BUILDROOT)
+endef