# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=libdv pkgver=1.0.0 pkgrel=0 pkgdesc="Quasar DV codec for digital camcorders" url="http://libdv.sourceforge.net/" arch="all" license="LGPL-2.1+" depends="" makedepends="popt-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://downloads.sourceforge.net/libdv/libdv-$pkgver.tar.gz" prepare() { cd "$builddir" default_prepare update_config_sub } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-xv make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="19887a6f452fa7da8924901ad841f5c4a434a3bde56c932ddb43717592aa744281e3a8ad220231e11d7e6bc3b0e704952a8324e5f85d4e088675edceeeca7dc8 libdv-1.0.0.tar.gz"