aboutsummaryrefslogtreecommitdiffstats
path: root/main/libquvi-scripts
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-14 09:01:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-14 09:12:33 +0000
commit227a70576bc6524597ed95e9c49a37d12a7a1a2f (patch)
treeb67e8e6e6d3d40c44e60ae43710278a3ac076e96 /main/libquvi-scripts
parent2ebb733f2d419d3c94db611f0c21666533f2d29c (diff)
downloadaports-227a70576bc6524597ed95e9c49a37d12a7a1a2f.tar.bz2
aports-227a70576bc6524597ed95e9c49a37d12a7a1a2f.tar.xz
main/libquvi-scripts: moved from testing
Diffstat (limited to 'main/libquvi-scripts')
-rw-r--r--main/libquvi-scripts/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/libquvi-scripts/APKBUILD b/main/libquvi-scripts/APKBUILD
new file mode 100644
index 0000000000..f1f1b1eea4
--- /dev/null
+++ b/main/libquvi-scripts/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libquvi-scripts
+pkgver=0.4.0
+pkgrel=0
+pkgdesc="scripts for libquvi - the library for parsing video download links"
+url="http://quvi.sourceforge.net/"
+arch="noarch"
+license="LGPLv2+"
+depends=
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://downloads.sourceforge.net/project/quvi/${pkgver%.*}/$pkgname/libquvi-scripts-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/libquvi-scripts-$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
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="8ac2692e63c00a828e14076434c3cd48 libquvi-scripts-0.4.0.tar.bz2"