summaryrefslogtreecommitdiffstats
path: root/testing/tvheadend/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2012-10-10 23:55:27 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2012-10-10 23:55:27 +0200
commit7a8543c437a9a6d81620acc34b02193d04c805b7 (patch)
tree1095cb516668c450fceda0f5d420d99df4c8184e /testing/tvheadend/APKBUILD
parent6b312e4dc0168c162d3569e9ef5a0d9fa95d9f42 (diff)
downloadaports-7a8543c437a9a6d81620acc34b02193d04c805b7.tar.bz2
aports-7a8543c437a9a6d81620acc34b02193d04c805b7.tar.xz
testing/tvheadend: upgrade to 3.2_beta2
Diffstat (limited to 'testing/tvheadend/APKBUILD')
-rw-r--r--testing/tvheadend/APKBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/testing/tvheadend/APKBUILD b/testing/tvheadend/APKBUILD
index d1b965edb..636e37b81 100644
--- a/testing/tvheadend/APKBUILD
+++ b/testing/tvheadend/APKBUILD
@@ -1,7 +1,8 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=tvheadend
-pkgver=3.00
+pkgver=3.2_beta2
+_tag=aa27c42
pkgrel=0
pkgdesc="TV Streaming server for linux"
url="http://www.lonelycoder.com/hts/tvheadend_overview.html"
@@ -10,13 +11,13 @@ license="GPL3"
depends=""
depends_dev="openssl-dev wget bash findutils"
makedepends="$depends_dev"
-install="$pkgname.pre-install $pkgname.post-deinstall"
-subpackages=""
-source="saveas-https://github.com/tvheadend/tvheadend/tarball/3.0/$pkgname-$pkgver.tar.gz
+install="$pkgname.pre-install"
+subpackages="$pkgname-doc"
+source="saveas-https://github.com/tvheadend/tvheadend/tarball/3.2beta2/$pkgname-$pkgver.tar.gz
tvheadend.initd
tvheadend.confd
"
-_builddir="$srcdir/tvheadend-tvheadend-1175cea"
+_builddir="$srcdir/$pkgname-$pkgname-$_tag"
prepare() {
local i
@@ -30,18 +31,23 @@ prepare() {
build() {
cd "$_builddir"
./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
--release \
- --disable-avahi
+ --disable-avahi \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- #sed -i 's/\-T//g' support/posix.mk
make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname || return 1
install -m755 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname || return 1
+ mkdir -p "$pkgdir/etc/tvheadend" || return 1
}
-md5sums="48201e389057704c7af3d5191c4d71ba tvheadend-3.00.tar.gz
-4d6324b1b87890faf846ad95c2f3483c tvheadend.initd
-74749f3527418ddfd5671d5d5ad4dca4 tvheadend.confd"
+md5sums="29c5e2a823f6596f3b864a7d8d01706d tvheadend-3.2_beta2.tar.gz
+5df86b0859fc457c634a41a6ced3f118 tvheadend.initd
+17cf7dfaf27706409a004c246c1a2c3c tvheadend.confd"