diff options
Diffstat (limited to 'community-testing/yaz/PKGBUILD')
-rw-r--r-- | community-testing/yaz/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community-testing/yaz/PKGBUILD b/community-testing/yaz/PKGBUILD new file mode 100644 index 000000000..30b4a88aa --- /dev/null +++ b/community-testing/yaz/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 69114 2012-04-09 13:50:32Z tdziedzic $ +# Maintainer: 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.29 +pkgrel=1 +pkgdesc="A toolkit supporting the development of Z39.50/SRW/SRU clients and servers" +arch=('i686' 'x86_64') +license=('BSD') +url="http://www.indexdata.dk/yaz" +depends=('openssl' 'libxslt' 'icu') +options=('!libtool') +source=("http://ftp.indexdata.dk/pub/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('584bcf12401f182a42091616c6cf7e0a') + +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" +} + +# vim:set ts=2 sw=2 et: |