mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
main/libebml: modernise, note lack of test, fix license
This commit is contained in:
parent
b637b6ce93
commit
588a44675e
@ -2,43 +2,28 @@
|
|||||||
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
||||||
pkgname=libebml
|
pkgname=libebml
|
||||||
pkgver=1.3.5
|
pkgver=1.3.5
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="a C++ library to parse Extensible Binary Meta-Language files"
|
pkgdesc="C++ library to parse Extensible Binary Meta-Language files"
|
||||||
url="https://www.matroska.org/"
|
url="https://www.matroska.org/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="LGPL"
|
options="!check" # No test suite.
|
||||||
depends=""
|
license="LGPL-2.1+"
|
||||||
depends_dev=""
|
depends=
|
||||||
makedepends="$depends_dev"
|
|
||||||
install=""
|
|
||||||
subpackages="$pkgname-dev"
|
subpackages="$pkgname-dev"
|
||||||
source="http://dl.matroska.org/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
|
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() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
./configure \
|
./configure \
|
||||||
--build=$CBUILD \
|
--build=$CBUILD \
|
||||||
--host=$CHOST \
|
--host=$CHOST \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-static \
|
--disable-static
|
||||||
|| return 1
|
make
|
||||||
make || return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
make install DESTDIR="$pkgdir"
|
make install DESTDIR="$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user