diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-07 12:10:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-07 12:10:37 +0000 |
commit | c7a9ed2d619930f93f1c9e521953360eab9b3869 (patch) | |
tree | e944691cbb913dfa04962a8015643c2675d68a58 /main/libebml | |
parent | 2ec1f059e1be9fdc9828418da494c3edf8c7f604 (diff) | |
download | aports-c7a9ed2d619930f93f1c9e521953360eab9b3869.tar.bz2 aports-c7a9ed2d619930f93f1c9e521953360eab9b3869.tar.xz |
main/libebml: moved from testing
Diffstat (limited to 'main/libebml')
-rw-r--r-- | main/libebml/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/libebml/APKBUILD b/main/libebml/APKBUILD new file mode 100644 index 000000000..4f88ee46e --- /dev/null +++ b/main/libebml/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=libebml +pkgver=1.2.2 +pkgrel=0 +pkgdesc="a C++ library to parse Extensible Binary Meta-Language files" +url="http://www.matroska.org/" +arch="all" +license="LGPL" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://dl.matroska.org/downloads/$pkgname/$pkgname-$pkgver.tar.bz2" + +_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" + make -C make/linux +} + +package() { + cd "$_builddir" + make -C make/linux install prefix="$pkgdir/usr" +} + +md5sums="726cc2bd1a525929ff35ff9854c0ebab libebml-1.2.2.tar.bz2" |