aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-24 13:34:36 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-24 13:34:36 +0000
commit8f5349cd3256823322b478fbba8093b71ab0aa93 (patch)
tree535a30cb22b07b48011f758bb7185d646758148e
parentff7510599a02926c90acb9683b0a30cc0b9a10c7 (diff)
parenta4639a04e4df8914543d9fc76c6a04a306077511 (diff)
downloadaports-8f5349cd3256823322b478fbba8093b71ab0aa93.tar.bz2
aports-8f5349cd3256823322b478fbba8093b71ab0aa93.tar.xz
Merge git://dev.alpinelinux.org/aports
-rw-r--r--testing/tvheadend/APKBUILD26
1 files changed, 15 insertions, 11 deletions
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 <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"