blob: e3b3999a3d57f31e7692ffe8bb18ac7a7b7e89e0 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtheora
pkgver=1.0
pkgrel=1
pkgdesc="An open video codec developed by the Xiph.org"
url="http://www.xiph.org"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="libvorbis-dev libogg-dev"
source="http://downloads.xiph.org/releases/theora/$pkgname-$pkgver.tar.bz2"
depends_dev="libogg-dev"
build ()
{
cd "$srcdir"/libtheora-$pkgver
./configure --prefix=/usr \
--enable-shared \
--disable-static || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
install -m755 -d ""$pkgdir"/usr/share/licenses/$pkgname"
install -m644 LICENSE COPYING "$pkgdir"/usr/share/licenses/$pkgname/
}
md5sums="c963937053f45a7878954bed37ceb182 libtheora-1.0.tar.bz2"
|