diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-10 16:08:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-10 16:08:39 +0000 |
commit | d0612ac7d3d787bf913c4662dd08ec35badfe72b (patch) | |
tree | 34202225ca22c74d1811d448798810a7e3344ef0 /main/libdv/APKBUILD | |
parent | 4f4b219f87d7afe908ad5d9800f07714bbc38511 (diff) | |
download | aports-d0612ac7d3d787bf913c4662dd08ec35badfe72b.tar.bz2 aports-d0612ac7d3d787bf913c4662dd08ec35badfe72b.tar.xz |
main/dvgrab+: moved from testing
Diffstat (limited to 'main/libdv/APKBUILD')
-rw-r--r-- | main/libdv/APKBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/main/libdv/APKBUILD b/main/libdv/APKBUILD new file mode 100644 index 0000000000..44d24da7a9 --- /dev/null +++ b/main/libdv/APKBUILD @@ -0,0 +1,60 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libdv +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Software decoder for DV format video" +url="http://libdv.sourceforge.net/" +arch="all" +license="LGPLv2+" +depends= +makedepends="gtk+-dev libxv-dev sdl-dev autoconf automake libtool" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://downloads.sourceforge.net/libdv/libdv-$pkgver.tar.gz + libdv-0.104-no-exec-stack.patch + libdv-1.0.0-dso-linking.patch + libdv-1.0.0-pic.patch + libdv-1.0.0-gtk2.patch + " + +_builddir="$srcdir"/libdv-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + libtoolize && autoreconf +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-pic \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +tools() { + pkgdesc="Basic tools to manipulate Digital Video streams" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +md5sums="f895162161cfa4bb4a94c070a7caa6c7 libdv-1.0.0.tar.gz +e1cf9483fe9efdab5e2326fccbdb7ed5 libdv-0.104-no-exec-stack.patch +9e3a12489495e01ad0ddf5a3ea2cef7f libdv-1.0.0-dso-linking.patch +4fb792fd927a7abbc0e2ab9a8e96df53 libdv-1.0.0-pic.patch +0498e719e3ed660a97b889b0502a4cb8 libdv-1.0.0-gtk2.patch" |