2006-10-20 15:09:48 +00:00
|
|
|
# Description: An ISO MPEG-4 compliant video codec
|
|
|
|
# URL: http://www.xvid.org/
|
2008-02-03 16:27:07 -05:00
|
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
|
|
# Maintainer: Brett Goulder, predatorfreak at dcaf-security dot org
|
2008-03-29 22:24:44 -04:00
|
|
|
# Nice to have: yasm
|
2006-10-20 15:09:48 +00:00
|
|
|
|
|
|
|
name=libxvid
|
2008-01-09 16:18:26 -06:00
|
|
|
version=1.1.3
|
2008-03-24 13:58:15 -04:00
|
|
|
release=2
|
|
|
|
source=(http://downloads.xvid.org/downloads/xvidcore-$version.tar.bz2
|
|
|
|
$name-$version-nasm-compat.patch)
|
2006-10-20 15:09:48 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p $PKG/usr/{include,lib}
|
2008-03-24 13:58:15 -04:00
|
|
|
cd xvidcore-$version/
|
|
|
|
patch -p0 -i $SRC/$name-$version-nasm-compat.patch
|
|
|
|
cd build/generic/
|
|
|
|
autoconf
|
2006-10-20 15:09:48 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make includedir=$PKG/usr/include libdir=$PKG/usr/lib install
|
|
|
|
ln -s libxvidcore.so.4.1 $PKG/usr/lib/libxvidcore.so
|
|
|
|
}
|