From a4639a04e4df8914543d9fc76c6a04a306077511 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 24 Oct 2012 15:32:25 +0200 Subject: testing/tvheadend: upgrade to 3.2 --- testing/tvheadend/APKBUILD | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'testing/tvheadend') diff --git a/testing/tvheadend/APKBUILD b/testing/tvheadend/APKBUILD index eaad9e2f8c..1d05dff582 100644 --- a/testing/tvheadend/APKBUILD +++ b/testing/tvheadend/APKBUILD @@ -1,25 +1,24 @@ # Contributor: Francesco Colista # Maintainer: Francesco Colista 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" -- cgit v1.2.3