summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tdb/PKGBUILD
blob: 1714862855bdf10bc4593268f09340f0333b8ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 14092 2008-10-03 15:43:08Z tpowa $
# Maintainer: eric <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=tdb
pkgver=3.2.4
pkgrel=1
# We use the 'A' to fake out pacman's version comparators.  Samba chooses
# to append 'a','b',etc to their subsequent releases, which pamcan
# misconstrues as alpha, beta, etc.  Bad samba!
_realver=3.2.4
pkgdesc="A Trivial Database similar to GDBM but allows simultaneous commits"
arch=(i686 x86_64)
license=('GPL3')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
url="www.samba.org"
source=(http://us1.samba.org/samba/ftp/samba-${_realver}.tar.gz)
options=(!makeflags)

build() {
   cd ${startdir}/src/samba-${_realver}/source/lib/tdb
   ./autogen.sh
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg install
   ln -sf /usr/lib/libtdb.so.1.1.1 $startdir/pkg/usr/lib/libtdb.so.1
   ln -sf /usr/lib/libtdb.so.1.1.1 $startdir/pkg/usr/lib/libtdb.so
}
md5sums=('7870a6bb3a025c6081cd56688acd494a')