diff options
Diffstat (limited to 'testing/oscam/APKBUILD')
-rw-r--r-- | testing/oscam/APKBUILD | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/testing/oscam/APKBUILD b/testing/oscam/APKBUILD deleted file mode 100644 index 79a82f0603..0000000000 --- a/testing/oscam/APKBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=oscam -pkgver=1.10 -pkgrel=1 -pkgdesc="An Open Source Conditional Access Module software" -url="http://oscam.to" -arch="all" -license="GPL" -depends="" -depends_dev="openssl-dev" -makedepends="$depends_dev bash cmake" -install="$pkgname.pre-install" -pkgusers="$pkgname" -subpackages="$pkgname-doc" -source="http://alpine.nethq.org/distfiles/oscam-$pkgver.tar.gz - $pkgname.initd - $pkgname.confd - $pkgname.conf" - -_builddir="$srcdir"/oscam-$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" - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DWEBIF=1 \ - -DWITH_SSL=1 \ - "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -d -o oscam \ - "$pkgdir"/var/log/$pkgname || return 1 - install -d "$pkgdir"/etc/$pkgname/cw || return 1 - install -D "$srcdir"/$pkgname.conf \ - "$pkgdir"/etc/$pkgname/$pkgname.conf || return 1 - chown -R oscam "$pkgdir"/etc/$pkgname - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 - rm -f "$pkgdir"/usr/lib/*.la -} - -md5sums="e6e6d0f760298fd254333b3b56f30ee6 oscam-1.10.tar.gz -56f8a71e018973b6fb8f2efa2873b6cb oscam.initd -185840b037fc59248f8ea2f84c2b67ed oscam.confd -ad8937125595e25ad57c22c4bd93f4e3 oscam.conf" |