aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-12-26 15:16:11 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-12-26 15:16:11 +0000
commit5dabb9a2414c63369556ee0052cd25fa3cb20817 (patch)
tree574f783006e0289818e099d46956698fe6c1fa50
parenta38a07e16db87c32cc16591b869f7d981804efb9 (diff)
downloadaports-5dabb9a2414c63369556ee0052cd25fa3cb20817.tar.gz
aports-5dabb9a2414c63369556ee0052cd25fa3cb20817.tar.bz2
aports-5dabb9a2414c63369556ee0052cd25fa3cb20817.tar.xz
main/libburn: upgrade to 1.5.0, modernize APKBUILD, added check()
-rw-r--r--main/libburn/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/main/libburn/APKBUILD b/main/libburn/APKBUILD
index 44ad7a8108..1671382107 100644
--- a/main/libburn/APKBUILD
+++ b/main/libburn/APKBUILD
@@ -11,27 +11,28 @@ pkgdesc="Library for reading, mastering and writing optical discs"
url="http://libburnia-project.org/"
arch="all"
license="GPL"
-depends=""
makedepends="linux-headers "
subpackages="$pkgname-dev $pkgname-doc"
source="http://files.libburnia-project.org/releases/libburn-${_ver}${_pver}.tar.gz"
+builddir="$srcdir"/$pkgname-$_ver
-_builddir="$srcdir"/$pkgname-$_ver
-build ()
-{
- cd "$_builddir"
+build() {
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
+check() {
+ cd "$builddir"
+ make check
+}
package() {
- cd "$_builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
}
sha512sums="c524d672d79db2f6dc22f6381cd422ddaa3b61d6741c998c773772722e37c53576ae9549dd17a33c2d020c66857ecbb948f353bc22cdf28c2bb115bd2b82d4a2 libburn-1.5.0.tar.gz"