aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/oscam/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/oscam/APKBUILD b/main/oscam/APKBUILD
index 72ef0612cb..8fdecb3bc9 100644
--- a/main/oscam/APKBUILD
+++ b/main/oscam/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=oscam
pkgver=0_svn20130112
-pkgrel=1
+pkgrel=2
pkgdesc="An Open Source Conditional Access Module software"
url="http://www.streamboard.tv/oscam/"
arch="all"
@@ -12,7 +12,7 @@ depends_dev="openssl-dev libusb-dev"
makedepends="$depends_dev bash cmake"
install="$pkgname.pre-install"
pkgusers="$pkgname"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-list-smargo:list_smargo"
svnurl="http://www.streamboard.tv/svn/oscam/trunk"
disturl="dev.alpinelinux.org:/archive/$pkgname/"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
@@ -54,6 +54,13 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
+list_smargo() {
+ pkgdesc="Tool to identify your smargo card reader"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$_builddir"/utils/list_smargo \
+ "$subpkgdir"/usr/bin/ || return 1
+}
+
md5sums="65568897527ded7f73577c4d692a3fd2 oscam-0_svn20130112.tar.gz
56f8a71e018973b6fb8f2efa2873b6cb oscam.initd
185840b037fc59248f8ea2f84c2b67ed oscam.confd"