aboutsummaryrefslogtreecommitdiffstats
path: root/main/libebml/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-05 16:36:27 -0500
committerTimo Teräs <timo.teras@iki.fi>2018-04-09 08:52:36 +0000
commit588a44675e42a5e6664d6fafd9bb60894ed02e4a (patch)
tree6066256f15c396f783fafd0fd65a2071a4790856 /main/libebml/APKBUILD
parentb637b6ce93d21cd7660b3ef256e142bbf552bb59 (diff)
downloadaports-588a44675e42a5e6664d6fafd9bb60894ed02e4a.tar.bz2
aports-588a44675e42a5e6664d6fafd9bb60894ed02e4a.tar.xz
main/libebml: modernise, note lack of test, fix license
Diffstat (limited to 'main/libebml/APKBUILD')
-rw-r--r--main/libebml/APKBUILD33
1 files changed, 9 insertions, 24 deletions
diff --git a/main/libebml/APKBUILD b/main/libebml/APKBUILD
index 686fdb0aa0..452e61665b 100644
--- a/main/libebml/APKBUILD
+++ b/main/libebml/APKBUILD
@@ -2,43 +2,28 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libebml
pkgver=1.3.5
-pkgrel=0
-pkgdesc="a C++ library to parse Extensible Binary Meta-Language files"
+pkgrel=1
+pkgdesc="C++ library to parse Extensible Binary Meta-Language files"
url="https://www.matroska.org/"
arch="all"
-license="LGPL"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
+options="!check" # No test suite.
+license="LGPL-2.1+"
+depends=
subpackages="$pkgname-dev"
source="http://dl.matroska.org/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
-options="!check"
-
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --disable-static \
- || return 1
- make || return
+ --disable-static
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make install DESTDIR="$pkgdir"
}