aboutsummaryrefslogtreecommitdiffstats
path: root/main/libogg/APKBUILD
blob: d2d9e6fdb0c22f723f95f5b0b61605c2dcc53a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libogg
pkgver=1.3.1
pkgrel=0
pkgdesc="Ogg bitstream and framing library"
url="http://xiph.org/ogg/"
arch="all"
license="as-is"
depends=
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz
	"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make -j1 DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/lib/*.la

	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="ba526cd8f4403a5d351a9efaa8608fbc  libogg-1.3.1.tar.gz"
sha256sums="4e343f07aa5a1de8e0fa1107042d472186b3470d846b20b115b964eba5bae554  libogg-1.3.1.tar.gz"
sha512sums="c1caff78f89ffcef4783e550f92b91ebcf76a192b36eefa9f4cd6b9a17989079821f1caac38614903768fbf8ec3c0bb73520662ba994b70a2f1595facccf382a  libogg-1.3.1.tar.gz"