1 # Maintainer: Markus Opitz <mastero23 at gmail dot com>
6 pkgdesc="An Open Source Conditional Access Module software"
10 depends=('bash' 'openssl')
11 makedepends=('cmake' 'subversion')
18 md5sums=('79ad19c4e1a9ffbc105698914240e940'
19 '5fbce02bcb2c92aee56da31daf3c71eb')
21 _svntrunk=http://oscam.to/svn/oscam/trunk/
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up -r $pkgver)
30 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
33 msg "SVN checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_svnmod-build"
37 mkdir "$srcdir/$_svnmod-build"
38 cd "$srcdir/$_svnmod-build"
40 cmake -DCMAKE_INSTALL_PREFIX=/usr \
48 cd "$srcdir/$_svnmod-build"
50 make DESTDIR="$pkgdir/" install
52 install -m 755 -d "$pkgdir/etc/oscam"
53 install -D -m 755 "$srcdir/oscam.rc.d" "$pkgdir/etc/rc.d/oscam"
54 install -D -m 644 "$srcdir/oscam.conf.d" "$pkgdir/etc/conf.d/oscam"