Added xvidcode-1.2.2 build template.

--HG--
extra : convert_revision : 1260b58890bf53fe39d7a327bed75bb68031ed1c
This commit is contained in:
Juan RP 2009-12-30 22:17:24 +01:00
parent 9b74f9ebc8
commit eabfdf4f75
4 changed files with 37 additions and 0 deletions

1
srcpkgs/xvidcore-devel Symbolic link
View file

@ -0,0 +1 @@
xvidcore

2
srcpkgs/xvidcore/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=1.2.2"
api_depends="${abi_depends}"

18
srcpkgs/xvidcore/template Normal file
View file

@ -0,0 +1,18 @@
# Template file for 'xvidcore'
pkgname=xvidcore
version=1.2.2
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>"
checksum=e42a602de489438b96f7f4742b68e9bed7efa7aee3570379bb2582b4290b6d11
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

View file

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