summaryrefslogtreecommitdiff
path: root/community/yaz/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/yaz/PKGBUILD')
-rw-r--r--community/yaz/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/yaz/PKGBUILD b/community/yaz/PKGBUILD
new file mode 100644
index 000000000..81508b46b
--- /dev/null
+++ b/community/yaz/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 88599 2013-04-20 16:23:14Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Ray Rashif <schiv@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Contributor: Robert Emil Berge <filoktetes@linuxophic.org>
+
+pkgname=yaz
+pkgver=4.2.54
+pkgrel=1
+pkgdesc="A toolkit supporting the development of Z39.50/SRW/SRU clients and servers"
+arch=('i686' 'x86_64')
+url="http://www.indexdata.dk/yaz"
+license=('BSD')
+depends=('openssl' 'libxslt' 'icu')
+options=('!libtool')
+changelog=$pkgname.changelog
+source=(http://ftp.indexdata.dk/pub/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('a11fb3b7129bec80311f8e27a0717b9bf6d7c56049674bb5477b91e7e98d2087')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --enable-shared=yaz \
+ --with-openssl=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+}