summaryrefslogtreecommitdiffstats
path: root/main/oscam
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-29 09:30:34 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-29 09:30:34 +0000
commit333ddae109196aa6066ab2c738d5b813cc213de2 (patch)
treee95e0e611ac0fa8902198a06e7dcf0f54f52ddd9 /main/oscam
parent790e4f5ca002b5a2cd7494e746a56166c9ff2af1 (diff)
downloadaports-333ddae109196aa6066ab2c738d5b813cc213de2.tar.bz2
aports-333ddae109196aa6066ab2c738d5b813cc213de2.tar.xz
main/oscam: add smargo tool as subpkg
Diffstat (limited to 'main/oscam')
-rw-r--r--main/oscam/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/oscam/APKBUILD b/main/oscam/APKBUILD
index 72ef0612c..8fdecb3bc 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"