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
|
2008-06-19 22:45:57 +10:00
|
|
|
# Maintainer: Lucas Hazel, lucas at die dot net dot au
|
2008-03-29 22:24:44 -04:00
|
|
|
# Nice to have: yasm
|
2006-10-20 15:09:48 +00:00
|
|
|
|
|
|
|
name=libxvid
|
2009-06-11 12:01:10 +10:00
|
|
|
version=1.2.2
|
2008-12-11 23:06:25 +11:00
|
|
|
release=1
|
|
|
|
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-12-11 23:06:25 +11:00
|
|
|
cd xvidcore
|
|
|
|
# patch -p0 -i $SRC/$name-$version-nasm-compat.patch
|
2008-03-24 13:58:15 -04:00
|
|
|
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
|
|
|
|
}
|