libebml: cross build support.

This commit is contained in:
Juan RP 2013-12-18 15:05:06 +01:00
parent 83821a0140
commit cb26b3cbbf

View file

@ -1,36 +1,36 @@
# Template file for 'libebml' # Template file for 'libebml'
pkgname=libebml pkgname=libebml
version=1.2.2 version=1.2.2
revision=3 revision=4
build_style=gnu-makefile
build_wrksrc="make/linux"
short_desc="Extensible Binary Meta Language library" short_desc="Extensible Binary Meta Language library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://dl.matroska.org/downloads/libebml/" homepage="http://dl.matroska.org/downloads/libebml/"
license="LGPL-2.1" license="LGPL-2.1"
distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2" distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2"
checksum=476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5 checksum=476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5
long_desc="
EBML, or Extensible Binary Meta-Language, is a simple XML like binary do_build() {
language for describing data in structured style. EBML was originally cd make/linux
designed for use in the Matroska project, but the developers saw that make CC="$CC" CXX="$CXX" LD="$LD" CFLAGS="$CFLAGS" ${makejobs}
EBML was very flexible and extensible." }
do_install() { do_install() {
cd make/linux
make prefix=${DESTDIR}/usr install make prefix=${DESTDIR}/usr install
} }
libebml-devel_package() { libebml-devel_package() {
depends="libebml>=${version}" depends="libebml>=${version}_${revision}"
short_desc+=" -- development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
} }
} }
libebml_package() { libebml_package() {
pkg_install() { pkg_install() {
vmove usr vmove all
} }
} }