mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
main/libdvbcsa: modernize, add check and take maintainership
This commit is contained in:
parent
f5e13d1bcd
commit
0f18639a70
@ -1,33 +1,24 @@
|
||||
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
||||
# Maintainer:
|
||||
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
||||
pkgname=libdvbcsa
|
||||
pkgver=1.1.0
|
||||
pkgrel=0
|
||||
pkgdesc="a free implementation of the DVB Common Scrambling Algorithm"
|
||||
pkgrel=1
|
||||
pkgdesc="Free implementation of the DVB Common Scrambling Algorithm"
|
||||
url="http://www.videolan.org/developers/libdvbcsa.html"
|
||||
arch="all"
|
||||
license="GPL"
|
||||
depends=""
|
||||
depends_dev=""
|
||||
makedepends="$depends_dev"
|
||||
install=""
|
||||
subpackages="$pkgname-dev"
|
||||
source="http://download.videolan.org/pub/videolan/libdvbcsa/$pkgver/libdvbcsa-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir"/libdvbcsa-$pkgver
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
update_config_sub || return 1
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
default_prepare
|
||||
update_config_sub
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
@ -35,14 +26,18 @@ build() {
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--localstatedir=/var \
|
||||
|| return 1
|
||||
make || return 1
|
||||
--localstatedir=/var
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="f336bc90711261bb86bb42f897d5207a71da5a384bfb7d641de7e1fb3a43d20aeec250e9a5ceaf0b20f1e4335ccda70055675256c6889873bf1bfff55005a015 libdvbcsa-1.1.0.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user