opt/libxvid/Pkgfile

24 lines
635 B
Plaintext
Raw Normal View History

2006-10-20 17:09:48 +02:00
# Description: An ISO MPEG-4 compliant video codec
# URL: http://www.xvid.org/
2008-02-03 22:27:07 +01:00
# Packager: Matt Housh, jaeger at crux dot nu
2008-06-19 14:45:57 +02:00
# Maintainer: Lucas Hazel, lucas at die dot net dot au
2008-03-30 04:24:44 +02:00
# Nice to have: yasm
2006-10-20 17:09:48 +02:00
name=libxvid
2008-12-11 13:06:25 +01:00
version=1.2.1
release=1
source=(http://downloads.xvid.org/downloads/xvidcore-$version.tar.bz2)
#$name-$version-nasm-compat.patch)
2006-10-20 17:09:48 +02:00
build() {
mkdir -p $PKG/usr/{include,lib}
2008-12-11 13:06:25 +01:00
cd xvidcore
# patch -p0 -i $SRC/$name-$version-nasm-compat.patch
cd build/generic/
autoconf
2006-10-20 17:09:48 +02: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
}