2009-12-30 21:17:24 +00:00
|
|
|
# Template file for 'xvidcore'
|
|
|
|
pkgname=xvidcore
|
2013-03-24 15:30:24 +00:00
|
|
|
version=1.3.2
|
2014-04-04 23:26:16 +00:00
|
|
|
revision=3
|
2009-12-30 21:17:24 +00:00
|
|
|
wrksrc="$pkgname"
|
|
|
|
build_wrksrc="build/generic"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-24 15:30:24 +00:00
|
|
|
hostmakedepends="nasm"
|
2009-12-30 21:17:24 +00:00
|
|
|
short_desc="ISO MPEG-4 compliant video codec"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-03-24 15:30:24 +00:00
|
|
|
homepage="http://www.xvid.org"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://downloads.xvid.org/downloads/$pkgname-$version.tar.bz2"
|
|
|
|
checksum=d6c11334e1e771f9e4722eff454762325fd0989f6a4217abca296d6770160bf4
|
2009-12-30 21:17:24 +00:00
|
|
|
|
2013-03-24 15:30:24 +00:00
|
|
|
post_install() {
|
2009-12-30 21:20:29 +00:00
|
|
|
# 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
|
|
|
}
|
2013-04-14 16:42:25 +00:00
|
|
|
|
|
|
|
xvidcore-devel_package() {
|
2014-01-05 09:32:13 +00:00
|
|
|
depends="xvidcore>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:42:25 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-01-05 09:32:13 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 16:42:25 +00:00
|
|
|
}
|
|
|
|
}
|