PKGBUILDs/extra/vigra/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
1,007 B
Bash

# $Id: PKGBUILD 51175 2009-09-05 17:22:41Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=vigra
pkgver=1.6.0
pkgrel=1
pkgdesc="Computer vision library"
arch=('i686' 'x86_64')
url="http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/"
license=('custom:MIT')
depends=('libpng' 'libtiff' 'gcc-libs' 'sh')
options=('!libtool')
source=(#http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/${pkgname}${pkgver}.tar.gz - offline?
http://ftp.de.debian.org/debian/pool/main/libv/libvigraimpex/libvigraimpex_1.6.0.orig.tar.gz)
md5sums=('d62650a6f908e85643e557a236ea989c')
build() {
cd "${srcdir}"/${pkgname}${pkgver}
./configure --prefix=/usr --disable-static
make || return 1
make prefix="$pkgdir"/usr install-exec || return 1
make prefix="$pkgdir"/usr install-includes || return 1
make prefix="$pkgdir"/usr/share install-docs || return 1
install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}