From cb26b3cbbf8f143854826d25c75076a1dfef5539 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 Dec 2013 15:05:06 +0100 Subject: [PATCH] libebml: cross build support. --- srcpkgs/libebml/template | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/srcpkgs/libebml/template b/srcpkgs/libebml/template index 85714b60479..8c40f1f21ed 100644 --- a/srcpkgs/libebml/template +++ b/srcpkgs/libebml/template @@ -1,36 +1,36 @@ # Template file for 'libebml' pkgname=libebml version=1.2.2 -revision=3 -build_style=gnu-makefile -build_wrksrc="make/linux" +revision=4 short_desc="Extensible Binary Meta Language library" maintainer="Juan RP " homepage="http://dl.matroska.org/downloads/libebml/" license="LGPL-2.1" distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2" checksum=476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5 -long_desc=" - EBML, or Extensible Binary Meta-Language, is a simple XML like binary - language for describing data in structured style. EBML was originally - designed for use in the Matroska project, but the developers saw that - EBML was very flexible and extensible." + +do_build() { + cd make/linux + make CC="$CC" CXX="$CXX" LD="$LD" CFLAGS="$CFLAGS" ${makejobs} +} do_install() { + cd make/linux make prefix=${DESTDIR}/usr install } libebml-devel_package() { - depends="libebml>=${version}" - short_desc+=" -- development files" + depends="libebml>=${version}_${revision}" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.a" + vmove "usr/lib/*.so" } } libebml_package() { pkg_install() { - vmove usr + vmove all } }