PKGBUILDs/community/yaz/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
864 B
Bash

# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Robert Emil Berge <filoktetes@linuxophic.org>
pkgname=yaz
pkgver=3.0.49
pkgrel=1
pkgdesc="A toolkit supporting the development of Z39.50/SRW/SRU clients and servers"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.indexdata.dk/yaz"
depends=('openssl' 'libxslt' 'icu')
options=('!libtool')
source=(http://ftp.indexdata.dk/pub/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('7402c6444386dc7db6be8bb9617e1e4d')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --enable-shared=yaz \
--with-openssl=/usr || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
}