aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-04 12:53:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-04 12:53:39 +0000
commit1fc9f5a46e230b34129fb1dd0cd301193fb72b70 (patch)
treef84a1f6610d5c8f63bdc55ddd18c8d2c89d15232 /testing
parentd99a552f84f6f95b906527cf37f8243076a561dc (diff)
downloadaports-1fc9f5a46e230b34129fb1dd0cd301193fb72b70.tar.bz2
aports-1fc9f5a46e230b34129fb1dd0cd301193fb72b70.tar.xz
testing/libquvi-scripts: new aport
scripts for libquvi - the library for parsing video download links http://quvi.sourceforge.net/
Diffstat (limited to 'testing')
-rw-r--r--testing/libquvi-scripts/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/libquvi-scripts/APKBUILD b/testing/libquvi-scripts/APKBUILD
new file mode 100644
index 0000000000..f1f1b1eea4
--- /dev/null
+++ b/testing/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"