aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmatroska/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-07 12:11:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-07 12:11:46 +0000
commit29a38db2872135c9d10ad80c3d259516114ef248 (patch)
tree750059113563f07c3726a96b1a2d06059b1668af /main/libmatroska/APKBUILD
parentc7a9ed2d619930f93f1c9e521953360eab9b3869 (diff)
downloadaports-29a38db2872135c9d10ad80c3d259516114ef248.tar.bz2
aports-29a38db2872135c9d10ad80c3d259516114ef248.tar.xz
main/libmatroska: moved from testing
Diffstat (limited to 'main/libmatroska/APKBUILD')
-rw-r--r--main/libmatroska/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/libmatroska/APKBUILD b/main/libmatroska/APKBUILD
new file mode 100644
index 0000000000..d0112705d7
--- /dev/null
+++ b/main/libmatroska/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=libmatroska
+pkgver=1.3.0
+pkgrel=0
+pkgdesc="a C++ library to parse Matroska files"
+url="http://www.matroska.org/"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev="libebml-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="f4a8c411f09d39c754eb726efd616043 libmatroska-1.3.0.tar.bz2"