diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-09 21:29:02 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-09 21:49:40 -0500 |
commit | 47424b96d5cdc44a0ccaded226a80733b4df37ec (patch) | |
tree | d2b4fb89d786e3b3da23df9748c58b7f23cf4bb2 /user | |
parent | e7e33f9f3749f05457c99af21212e82450b1f158 (diff) | |
download | packages-47424b96d5cdc44a0ccaded226a80733b4df37ec.tar.gz packages-47424b96d5cdc44a0ccaded226a80733b4df37ec.tar.bz2 packages-47424b96d5cdc44a0ccaded226a80733b4df37ec.tar.xz packages-47424b96d5cdc44a0ccaded226a80733b4df37ec.zip |
user/libogg: pull in
Diffstat (limited to 'user')
-rw-r--r-- | user/libogg/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/libogg/APKBUILD b/user/libogg/APKBUILD new file mode 100644 index 000000000..fc41e6f74 --- /dev/null +++ b/user/libogg/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Mika Havela <mika.havela@gmail.com> +# Maintainer: +pkgname=libogg +pkgver=1.3.3 +pkgrel=2 +pkgdesc="Ogg bitstream and framing library" +url="https://xiph.org/ogg/" +arch="all" +license="BSD-3-Clause" +subpackages="$pkgname-doc $pkgname-dev" +source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz" + +build() { + cd "$builddir" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make -j1 DESTDIR="$pkgdir" install + + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +sha512sums="16f9cbc7f5b77c1719d80e666995ad825a3d4b6facfa51e3df3b1a9678cca7dc3c4f6ee15096c394c97ed5e67fced1aaedacc563cddfe4e0c748dd39940b099e libogg-1.3.3.tar.gz" |