void-packages/srcpkgs/xvidcore/template

29 lines
865 B
Plaintext
Raw Normal View History

# Template file for 'xvidcore'
pkgname=xvidcore
2011-03-03 13:11:22 +01:00
version=1.3.0
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>"
2011-03-03 13:11:22 +01:00
checksum=db24f934080cb9811f6e0935e2783243a613afb21a79e635db9e3b1b797e4074
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
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
chmod 755 ${DESTDIR}/usr/lib/libxvidcore.so.*
}