2009-12-30 21:17:24 +00:00
|
|
|
# Template file for 'xvidcore'
|
|
|
|
pkgname=xvidcore
|
|
|
|
version=1.2.2
|
2010-10-29 05:16:25 +00:00
|
|
|
revision=2
|
2009-12-30 21:17:24 +00:00
|
|
|
wrksrc="$pkgname"
|
|
|
|
distfiles="http://downloads.xvid.org/downloads/$pkgname-$version.tar.bz2"
|
|
|
|
build_wrksrc="build/generic"
|
|
|
|
build_style=gnu_configure
|
|
|
|
short_desc="ISO MPEG-4 compliant video codec"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=e42a602de489438b96f7f4742b68e9bed7efa7aee3570379bb2582b4290b6d11
|
|
|
|
long_desc="
|
|
|
|
XviD is an ISO MPEG-4 compliant video codec library. It's no product,
|
|
|
|
it's an open source project which is developed and maintained by lots of
|
|
|
|
people from all over the world."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency build nasm
|
2009-12-30 21:20:29 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Fix dynamic libraries
|
|
|
|
cd ${DESTDIR}/usr/lib
|
|
|
|
local mylib=$(basename libxvidcore.so.*)
|
|
|
|
ln -sf ${mylib} libxvidcore.so.4
|
|
|
|
ln -sf ${mylib} libxvidcore.so
|
2010-10-29 05:16:25 +00:00
|
|
|
chmod 755 ${DESTDIR}/usr/lib/libxvidcore.so.*
|
2009-12-30 21:20:29 +00:00
|
|
|
}
|