diff options
author | root <root@rshg054.dnsready.net> | 2012-12-03 02:08:07 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-03 02:08:07 -0800 |
commit | cd3e25625999a62fa1c10e233f371a30d03f67c8 (patch) | |
tree | c81ad68238e51705df4f7ee13dbd3e2bd99044c6 /libre/tokyocabinet/PKGBUILD | |
parent | 98ba4ae196183c2d9b1cc2d61cf1ee82302863e3 (diff) |
Mon Dec 3 02:06:13 PST 2012
Diffstat (limited to 'libre/tokyocabinet/PKGBUILD')
-rwxr-xr-x | libre/tokyocabinet/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/tokyocabinet/PKGBUILD b/libre/tokyocabinet/PKGBUILD new file mode 100755 index 000000000..7eb52ed6e --- /dev/null +++ b/libre/tokyocabinet/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Mark Foxwell <fastfret79@archlinux.org.uk> +# Contributor: Nicolas Martyanoff <khaelin@gmail.com> + +pkgname=tokyocabinet +pkgver=1.4.48 +pkgrel=2 +pkgdesc="a modern implementation of DBM" +arch=('i686' 'x86_64') +url="http://fallabs.com/tokyocabinet/" +license=('LGPL') +makedepends=('gcc>=3.1' 'make' 'pkgconfig') +depends=('zlib' 'bzip2') +source=("http://fallabs.com/tokyocabinet/${pkgname}-${pkgver}.tar.gz") +md5sums=('fd03df6965f8f56dd5b8518ca43b4f5e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --enable-off64 --enable-fastest + make +} + +# uncomment check routine if needed (can take ~5mins to run check) +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |