Commit | Line | Data |
---|---|---|
dcfb5b62 VM |
1 | # Description: Vorbis codec library |
2 | # URL: http://www.xiph.org/ogg/vorbis/ | |
3 | # Maintainer: Tilman Sauerbeck, tilman at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: libogg | |
6 | ||
7 | name=libvorbis | |
8 | version=1.3.1 | |
9 | release=1 | |
10 | source=(http://downloads.xiph.org/releases/vorbis/$name-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | ./configure --build=$CHOST \ | |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr \ | |
17 | --with-ogg-libraries=$CLFS/usr/lib \ | |
18 | --with-ogg-includes=$CLFS/usr/include | |
19 | make | |
20 | make DESTDIR=$PKG install | |
21 | rm -rf $PKG/usr/share/doc | |
22 | } |