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

Generated by cgit