blob: 52378d08e35009805d82ec91eb036a290ec118f5 (
plain)
1 # Description: DivX Codecs for Linux (binary).
2 # URL: http://labs.divx.com/DivXLinuxCodec
3 # Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
4 # Packager: Martin Opel, mo at obbl-net dot de
5 # Depends on: unzip
6
7 name=libdivx
8 version=6.1.1
9 release=1
10 source=(http://download.divx.com/labs/divx${version//./}-20060201-gcc4.0.1.tar.gz)
11
12 build() {
13 cd divx${version//./}-20060201-gcc4.0.1
14 install -d tmp
15 unzip -d tmp -P h08pzt4 contents.dat
16 install -d $PKG/usr/include/divx/{common,decoder,encoder}
17 install -D -m 0755 tmp/lib/libdivx.so $PKG/usr/lib/libdivx.so
18 install -m 0644 tmp/include/common/* $PKG/usr/include/divx/common/
19 install -m 0644 tmp/include/decoder/* $PKG/usr/include/divx/decoder/
20 install -m 0644 tmp/include/encoder/* $PKG/usr/include/divx/encoder/
21 ln -fs /usr/lib/libdivx.so $PKG/usr/lib/libdivx.so.0
22 }
|