void-packages/srcpkgs/xvidcore/template

28 lines
844 B
Text

# Template file for 'xvidcore'
pkgname=xvidcore
version=1.3.1
wrksrc="$pkgname"
distfiles="http://downloads.xvid.org/downloads/$pkgname-$version.tar.bz2"
build_wrksrc="build/generic"
build_style=gnu-configure
revision=2
makedepends="nasm"
short_desc="ISO MPEG-4 compliant video codec"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c51ae8449b04fd8c8d5e15546d5e7c022d72014df7849be2598b9dfa1c003d64
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"
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.*
}