opt/tdb/Pkgfile

22 lines
617 B
Plaintext
Raw Normal View History

2010-03-25 11:34:50 +01:00
# Description: Trivial DataBase similar gdbm
# URL: http://tdb.samba.org/
2011-01-24 16:54:45 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: python
2010-03-25 11:34:50 +01:00
name=tdb
2014-05-23 20:59:36 +02:00
version=1.3.0
2014-06-12 19:02:48 +02:00
release=2
2012-04-12 20:06:33 +02:00
source=(http://www.samba.org/ftp/$name/$name-$version.tar.gz
2014-06-12 19:02:48 +02:00
$name-man-$version.tar.xz
0001-tdb-include-include-stdbool.h-in-tdb.h.patch)
2010-03-25 11:34:50 +01:00
build () {
cd $name-$version
2014-06-12 19:02:48 +02:00
patch -p3 -i $SRC/0001-tdb-include-include-stdbool.h-in-tdb.h.patch
./configure --prefix=/usr --mandir=/usr/man
2010-03-25 11:34:50 +01:00
make
make DESTDIR=$PKG install
2011-01-24 16:54:45 +01:00
install -d $PKG/usr/man/man8
2013-06-04 18:13:53 +02:00
install -m 0644 man/*.8 $PKG/usr/man/man8
2010-03-25 11:34:50 +01:00
}