summaryrefslogtreecommitdiffstats
path: root/testing/tvheadend-git/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-06-13 12:01:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-06-13 12:01:15 +0000
commit54ec7844771602863802e05fdc837c452d74917c (patch)
tree54742e693f72682b9710826c740fe5c19223c1ef /testing/tvheadend-git/APKBUILD
parent3a8de4c9a71a2a1ed54ca95a980e857c37616985 (diff)
downloadaports-54ec7844771602863802e05fdc837c452d74917c.tar.bz2
aports-54ec7844771602863802e05fdc837c452d74917c.tar.xz
testing/tvheadend-git: rename dir
Diffstat (limited to 'testing/tvheadend-git/APKBUILD')
-rw-r--r--testing/tvheadend-git/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/tvheadend-git/APKBUILD b/testing/tvheadend-git/APKBUILD
new file mode 100644
index 000000000..f800ab0d9
--- /dev/null
+++ b/testing/tvheadend-git/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=tvheadend-git
+_pkgname=andoma-tvheadend-bccec43
+pkgver=2.99
+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 avahi-dev wget bash findutils"
+makedepends="$depends_dev"
+install="$pkgname.pre-install $pkgname.post-deinstall"
+subpackages=""
+source="saveas-https://github.com/andoma/tvheadend/tarball/master/$pkgname-$pkgver.tar.gz
+tvheadend-git.initd
+tvheadend-git.confd
+"
+_builddir="$srcdir"/$_pkgname
+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"
+ ./configure --prefix=/usr --release
+ 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
+}
+
+md5sums="96fa898ae84aefbc25e12067eb8a93c1 tvheadend-git-2.99.tar.gz
+4d6324b1b87890faf846ad95c2f3483c tvheadend-git.initd
+74749f3527418ddfd5671d5d5ad4dca4 tvheadend-git.confd"