summaryrefslogtreecommitdiff
path: root/social/tokyotyrant/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-18 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2011-12-18 23:14:50 +0000
commitd8fd24a96ae712b2de3e9b05d937b135f41d016d (patch)
treed7720f7ed4640d7aff2d5c472aeabcfad87df24f /social/tokyotyrant/PKGBUILD
parent146025aa1c838c12fa7b4873414da73816bfb6bd (diff)
Sun Dec 18 23:14:50 UTC 2011
Diffstat (limited to 'social/tokyotyrant/PKGBUILD')
-rwxr-xr-xsocial/tokyotyrant/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/social/tokyotyrant/PKGBUILD b/social/tokyotyrant/PKGBUILD
new file mode 100755
index 000000000..74da4570c
--- /dev/null
+++ b/social/tokyotyrant/PKGBUILD
@@ -0,0 +1,33 @@
+# # Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Paul Sadauskas <psadauskas@gmail.com>
+
+pkgname=tokyotyrant
+pkgver=1.1.41
+pkgrel=2
+pkgdesc="Network interface to TokyoCabinet"
+arch=('i686' 'x86_64')
+url="http://www.fallabs.com"
+license=('LGPL')
+makedepends=('gcc>=3.1' 'make' 'pkgconfig')
+depends=('zlib' 'bzip2' 'tokyocabinet>=1.4.27')
+source=("http://fallabs.com/$pkgname/$pkgname-$pkgver.tar.gz"
+ "tokyotyrant.rc"
+ "tokyotyrant.conf")
+
+md5sums=('a47e58897bd1cbbac173d5a66cc32ae3'
+ '3ed9229c9cfb8e1b3055b814d5038799'
+ '2558846ece69d1f265ee1ba5728c39cd')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+ install -m 644 -D ${srcdir}/tokyotyrant.conf $pkgdir/etc/conf.d/ttserver
+ install -m 755 -D ${srcdir}/tokyotyrant.rc $pkgdir/etc/rc.d/ttserver
+}
+