summaryrefslogtreecommitdiff
path: root/user/libdv/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 15:19:52 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 15:19:52 +0000
commita59e52f88e3449cafc3f963991e35ce6a4ef25e5 (patch)
tree3a8139c76057a79df8ae9d3ea7b68977b8d4e512 /user/libdv/APKBUILD
parenta2173dda292f6aebe72d819762a47403c13b5c47 (diff)
downloadpackages-a59e52f88e3449cafc3f963991e35ce6a4ef25e5.tar.gz
packages-a59e52f88e3449cafc3f963991e35ce6a4ef25e5.tar.bz2
packages-a59e52f88e3449cafc3f963991e35ce6a4ef25e5.tar.xz
packages-a59e52f88e3449cafc3f963991e35ce6a4ef25e5.zip
user/libdv: new package
Diffstat (limited to 'user/libdv/APKBUILD')
-rw-r--r--user/libdv/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/libdv/APKBUILD b/user/libdv/APKBUILD
new file mode 100644
index 000000000..e3dfc12f8
--- /dev/null
+++ b/user/libdv/APKBUILD
@@ -0,0 +1,44 @@
+# 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"