27 lines
952 B
Bash
27 lines
952 B
Bash
#!/bin/sh
|
|
name="gdbm"
|
|
short_desc="GNU database manager"
|
|
desc="The GNU dbm is a library of database functions that use extensible hashing
|
|
and works similar to the standard UNIX dbm functions. These routines are
|
|
provided to a programmer needing to create and manipulate a hashed database."
|
|
category="databases"
|
|
version="1.23"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://www.gnu.org.ua/software/gdbm/"
|
|
master_site="ftp://ftp.gnu.org/gnu/gdbm"
|
|
source_name="$name-$version.tar.gz"
|
|
license_logic="single" # accepted values: single, and, or
|
|
licenses=("GPLv3+")
|
|
|
|
build_dependencies=("devel/gmake" "lang/gcc" "devel/readline")
|
|
run_dependencies=("system/glibc" "shells/bash" "devel/readline")
|
|
|
|
build_process() {
|
|
cd $name-$version || exit 1
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--enable-libgdbm-compat
|
|
make -j$(nproc)
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install
|
|
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
|
|
} |