aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xmltv
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-05-22 21:04:43 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-05-22 21:04:43 +0000
commite9ce35687c94554117e9255dd9beea78404a8662 (patch)
tree06dc4e5cdba7097a7052fc02bafb67f39f118cf0 /testing/xmltv
parent96e757787d7c21abe70cc0ed9d64f3d9243da2cc (diff)
downloadaports-e9ce35687c94554117e9255dd9beea78404a8662.tar.bz2
aports-e9ce35687c94554117e9255dd9beea78404a8662.tar.xz
testing/xmltv: new aport
Diffstat (limited to 'testing/xmltv')
-rw-r--r--testing/xmltv/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/xmltv/APKBUILD b/testing/xmltv/APKBUILD
new file mode 100644
index 0000000000..b8ff39690a
--- /dev/null
+++ b/testing/xmltv/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=xmltv
+pkgver=0.5.63
+pkgrel=0
+pkgdesc="Set of utilities to download tv listings and format them in xml"
+url="http://xmltv.org/wiki"
+arch="noarch"
+license="GPL"
+depends="perl-libwww perl-xml-parser perl-xml-twig perl-date-manip perl-xml-writer
+ perl-timedate perl-unicode-string perl-term-readkey perl-file-slurp perl-xml-libxml
+ perl-lingua-en-numbers-ordinate perl-lingua-perferred perl-compress-raw-zlib perl-io-gzip
+ "
+depends_dev="perl-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/xmltv/xmltv-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/xmltv-$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"
+ PERL_MM_USE_DEFAULT=1 yes | perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="d93a74938fb71a250cd0d20aa06c1f61 xmltv-0.5.63.tar.bz2"
+sha256sums="d4b0b37c5a8e689fd45d32ca3de173f323669e016ee8eb7635adf91ef34bb772 xmltv-0.5.63.tar.bz2"
+sha512sums="8c5e774b1afe70789c8a39a32e371cd5c5c9631d006aad356736019ba7ca31406e9e13e2ec733f98670c4f47acefa01eeee2eb3c32dcd703bd208f1f45172ab6 xmltv-0.5.63.tar.bz2"