diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-11-01 06:44:18 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-11-01 06:44:18 +0000 |
commit | 850bd171cf7137cd577fa2dfe15137d919d07a99 (patch) | |
tree | b4d179902aabbd18a2cb95b0116b3d6cbb3ec829 /testing | |
parent | 1348d9fc4f59c5ce0c8191f4d12bde3600f957bb (diff) | |
parent | 94c89210906a941924a7caa6702231e5c69fdbca (diff) | |
download | aports-850bd171cf7137cd577fa2dfe15137d919d07a99.tar.bz2 aports-850bd171cf7137cd577fa2dfe15137d919d07a99.tar.xz |
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing')
-rw-r--r-- | testing/tvheadend/APKBUILD | 59 | ||||
-rw-r--r-- | testing/tvheadend/tvheadend.confd | 3 | ||||
-rw-r--r-- | testing/tvheadend/tvheadend.initd | 19 | ||||
-rw-r--r-- | testing/tvheadend/tvheadend.pre-install | 4 |
4 files changed, 0 insertions, 85 deletions
diff --git a/testing/tvheadend/APKBUILD b/testing/tvheadend/APKBUILD deleted file mode 100644 index 1d05dff582..0000000000 --- a/testing/tvheadend/APKBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=tvheadend -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 bash findutils" -makedepends="$depends_dev" -pkgusers="$pkgname" -pkggroups="$pkgname" -install="$pkgname.pre-install" -subpackages="$pkgname-doc" -source="https://github.com/downloads/tvheadend/tvheadend/tvheadend-$pkgver.tar.gz - tvheadend.initd - tvheadend.confd -" -_builddir="$srcdir/$pkgname-$pkgver" - -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 \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --release \ - --disable-avahi \ - || 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" || return 1 -} - -md5sums="4f7faa75c4ea24942c5a12a77ebdcdf0 tvheadend-3.2.tar.gz -5df86b0859fc457c634a41a6ced3f118 tvheadend.initd -17cf7dfaf27706409a004c246c1a2c3c tvheadend.confd" diff --git a/testing/tvheadend/tvheadend.confd b/testing/tvheadend/tvheadend.confd deleted file mode 100644 index 32dfe2526c..0000000000 --- a/testing/tvheadend/tvheadend.confd +++ /dev/null @@ -1,3 +0,0 @@ -TVHBIN="/usr/bin/tvheadend" -TVHUSER="tvheadend" -TVHCONF="/etc/tvheadend" diff --git a/testing/tvheadend/tvheadend.initd b/testing/tvheadend/tvheadend.initd deleted file mode 100644 index c244dd63ff..0000000000 --- a/testing/tvheadend/tvheadend.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/runscript -depend() { - need net -} - -start() { - ebegin "Starting tvheadend" - start-stop-daemon --start \ - --user ${TVHUSER} \ - --exec ${TVHBIN} -- -C -f -c \ - ${TVHCONF} - eend $? -} - -stop() { - ebegin "Stopping tvheadend" - start-stop-daemon --stop --quiet --name tvheadend --signal 2 - eend $? -} diff --git a/testing/tvheadend/tvheadend.pre-install b/testing/tvheadend/tvheadend.pre-install deleted file mode 100644 index c91e1eda93..0000000000 --- a/testing/tvheadend/tvheadend.pre-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -adduser -H -h /usr/share/tvheadend -g tvheadend -D -s /bin/false tvheadend 2>/dev/null -addgroup tvheadend video 2>/dev/null -exit 0 |