diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-03-21 08:14:12 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-03-22 14:35:24 +0000 |
commit | 0f1298e8ed5b08bc41af0098a1d944758adeb94f (patch) | |
tree | 9e82f518577faa10812b1ab537f415f1417bb1cf /testing/liboggz/APKBUILD | |
parent | 0ddcf24ca028a3730afb9b7a20cb773d769ab2e7 (diff) | |
download | aports-0f1298e8ed5b08bc41af0098a1d944758adeb94f.tar.bz2 aports-0f1298e8ed5b08bc41af0098a1d944758adeb94f.tar.xz |
testing/liboggz: new aport
Oggz provides a simple programming interface for reading and
writing Ogg files and streams
One test is segfaulting on some archs (like x86_64), I will
file a bug upstream
Diffstat (limited to 'testing/liboggz/APKBUILD')
-rw-r--r-- | testing/liboggz/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/liboggz/APKBUILD b/testing/liboggz/APKBUILD new file mode 100644 index 0000000000..c81af7a196 --- /dev/null +++ b/testing/liboggz/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com> +# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com> +pkgname=liboggz +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Provides a simple programming interface for reading and writing Ogg files and streams" +url="https://www.xiph.org/oggz/" +arch="all" +license="BSD" +depends="" +makedepends="libogg-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + update_config_guess +} + +build() { + cd "$builddir" + ./configure --prefix=/usr + make +} + +check() { + cd "$builddir" + #FIXME: test segfaults on some archs + sed -i "/TESTS = httpdate_test\$(EXEEXT)/d" src/tools/oggz-chop/Makefile + make check +} + +package() { + cd "$builddir" + make install DESTDIR="$pkgdir" +} + +sha512sums="8f5fc8ca49cb6f7a1160a9c1932876b771d55985d59ddc1f48497dfc08641414a58244d7a7e52bfcecdb69f52913d0123efd8f92513f8b9064e4abe1442f2cba liboggz-1.1.1.tar.gz" |