summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2012-10-24 15:32:25 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2012-10-24 15:33:28 +0200
commita4639a04e4df8914543d9fc76c6a04a306077511 (patch)
treeb56a7276efce076539e9c4bffdcf80f32f84460b
parentb035ef5af858ae04e0e9fd5433634ffd8e356c02 (diff)
downloadaports-a4639a04e4df8914543d9fc76c6a04a306077511.tar.bz2
aports-a4639a04e4df8914543d9fc76c6a04a306077511.tar.xz
testing/tvheadend: upgrade to 3.2
-rw-r--r--testing/tvheadend/APKBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/testing/tvheadend/APKBUILD b/testing/tvheadend/APKBUILD
index eaad9e2f8..1d05dff58 100644
--- a/testing/tvheadend/APKBUILD
+++ b/testing/tvheadend/APKBUILD
@@ -1,25 +1,24 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=tvheadend
-pkgver=3.2_beta6
-_tag=aa27c42
+pkgver=3.2
pkgrel=0
pkgdesc="TV Streaming server for linux"
url="http://www.lonelycoder.com/hts/tvheadend_overview.html"
arch="all"
license="GPL3"
depends=""
-depends_dev="openssl-dev wget bash findutils"
+depends_dev="openssl-dev bash findutils"
makedepends="$depends_dev"
pkgusers="$pkgname"
pkggroups="$pkgname"
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
+source="https://github.com/downloads/tvheadend/tvheadend/tvheadend-$pkgver.tar.gz
+ tvheadend.initd
+ tvheadend.confd
"
-_builddir="$srcdir/$pkgname-$pkgname-$_tag"
+_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
@@ -30,6 +29,7 @@ prepare() {
esac
done
}
+
build() {
cd "$_builddir"
./configure --prefix=/usr \
@@ -42,14 +42,18 @@ build() {
|| return 1
make || return 1
}
+
package() {
cd "$_builddir"
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
- install -d -o $pkgname -g $pkgname "$pkgdir/etc/$pkgname"
+ 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
+ install -d -o $pkgname -g $pkgname \
+ "$pkgdir/etc/$pkgname" || return 1
}
-md5sums="29c5e2a823f6596f3b864a7d8d01706d tvheadend-3.2_beta6.tar.gz
+md5sums="4f7faa75c4ea24942c5a12a77ebdcdf0 tvheadend-3.2.tar.gz
5df86b0859fc457c634a41a6ced3f118 tvheadend.initd
17cf7dfaf27706409a004c246c1a2c3c tvheadend.confd"