From 94c89210906a941924a7caa6702231e5c69fdbca Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 31 Oct 2012 17:06:00 +0100 Subject: testing/tvheadend: move to main --- testing/tvheadend/APKBUILD | 59 --------------------------------- testing/tvheadend/tvheadend.confd | 3 -- testing/tvheadend/tvheadend.initd | 19 ----------- testing/tvheadend/tvheadend.pre-install | 4 --- 4 files changed, 85 deletions(-) delete mode 100644 testing/tvheadend/APKBUILD delete mode 100644 testing/tvheadend/tvheadend.confd delete mode 100644 testing/tvheadend/tvheadend.initd delete mode 100644 testing/tvheadend/tvheadend.pre-install (limited to 'testing') 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 -# Maintainer: Francesco Colista -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 -- cgit v1.2.3