void-packages/srcpkgs/xvidcore/template

43 lines
1.1 KiB
Plaintext

# Template file for 'xvidcore'
pkgname=xvidcore
version=1.3.2
revision=1
wrksrc="$pkgname"
build_wrksrc="build/generic"
build_style=gnu-configure
hostmakedepends="nasm"
short_desc="ISO MPEG-4 compliant video codec"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.xvid.org"
license="GPL-2"
distfiles="http://downloads.xvid.org/downloads/$pkgname-$version.tar.bz2"
checksum=d6c11334e1e771f9e4722eff454762325fd0989f6a4217abca296d6770160bf4
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."
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.*
}
xvidcore-devel_package() {
depends="xvidcore>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}
xvidcore_package() {
pkg_install() {
vmove usr
}
}