summaryrefslogtreecommitdiff
path: root/pcr/tokyotyrant/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-07 00:46:34 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-07 00:46:34 -0400
commit619b8d955269f2fe74386e98fac07675c8b55352 (patch)
treef3e2610a39c99a7e43bc2b345280b04e398b986a /pcr/tokyotyrant/PKGBUILD
parent2b04539ac9310541a4e563460aed0cb7715770d2 (diff)
parent7d4e98b2d6f2fd4d42ebb55105bab8a05e34ab94 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/tokyotyrant/PKGBUILD')
-rw-r--r--pcr/tokyotyrant/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/tokyotyrant/PKGBUILD b/pcr/tokyotyrant/PKGBUILD
new file mode 100644
index 000000000..ea5c94e30
--- /dev/null
+++ b/pcr/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=3
+pkgdesc="Network interface to TokyoCabinet"
+arch=('i686' 'x86_64' 'mips64el')
+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
+}
+