xvidcore: update to 1.3.2; cross build support.

This commit is contained in:
Juan RP 2013-03-24 16:30:24 +01:00
parent 288ab04b63
commit 964bfa0841
2 changed files with 11 additions and 15 deletions

View file

@ -1,15 +1,17 @@
# Template file for 'xvidcore'
pkgname=xvidcore
version=1.3.1
version=1.3.2
revision=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"
hostmakedepends="nasm"
short_desc="ISO MPEG-4 compliant video codec"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c51ae8449b04fd8c8d5e15546d5e7c022d72014df7849be2598b9dfa1c003d64
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
@ -17,8 +19,7 @@ long_desc="
subpackages="$pkgname-devel"
post_install()
{
post_install() {
# Fix dynamic libraries
cd ${DESTDIR}/usr/lib
local mylib=$(basename libxvidcore.so.*)

View file

@ -1,14 +1,9 @@
# Template file for 'xvidcore-devel'.
#
depends="glibc-devel xvidcore"
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
depends="xvidcore>=${version}"
short_desc="${short_desc} -- development files"
This package contains files for development, headers, static libs, etc."
do_install()
{
do_install() {
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib