blob: 80c6281c21b35ed17f3866e4f528a2fcfc0fd937 (
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
33
34
35
36
37
38
39
40
41
|
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libogg
pkgver=1.3.2
pkgrel=0
pkgdesc="Ogg bitstream and framing library"
url="http://xiph.org/ogg/"
arch="all"
license="BSD"
depends=
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make -j1 DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="b72e1a1dbadff3248e4ed62a4177e937 libogg-1.3.2.tar.gz"
sha256sums="e19ee34711d7af328cb26287f4137e70630e7261b17cbe3cd41011d73a654692 libogg-1.3.2.tar.gz"
sha512sums="4a659bfa2851cdb7db6b852fa744ea594426e657cb74b9b0153f9c8b88e5cc836f1f7749d8e279248ffa7c550f25ef36eb68c379d5cf45e63f6b1be780de65fa libogg-1.3.2.tar.gz"
|