2009-12-31 03:07:30 +00:00
|
|
|
# Template file for 'libebml'
|
|
|
|
pkgname=libebml
|
2011-10-08 05:07:18 +00:00
|
|
|
version=1.2.2
|
2013-12-18 14:05:06 +00:00
|
|
|
revision=4
|
2009-12-31 03:07:30 +00:00
|
|
|
short_desc="Extensible Binary Meta Language library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-12 07:36:40 +00:00
|
|
|
homepage="http://dl.matroska.org/downloads/libebml/"
|
|
|
|
license="LGPL-2.1"
|
2013-04-13 08:15:49 +00:00
|
|
|
distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2"
|
2011-10-08 05:07:18 +00:00
|
|
|
checksum=476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5
|
2013-12-18 14:05:06 +00:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cd make/linux
|
|
|
|
make CC="$CC" CXX="$CXX" LD="$LD" CFLAGS="$CFLAGS" ${makejobs}
|
|
|
|
}
|
2009-12-31 03:07:30 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
do_install() {
|
2013-12-18 14:05:06 +00:00
|
|
|
cd make/linux
|
2013-04-13 08:15:49 +00:00
|
|
|
make prefix=${DESTDIR}/usr install
|
|
|
|
}
|
|
|
|
|
|
|
|
libebml-devel_package() {
|
2013-12-18 14:05:06 +00:00
|
|
|
depends="libebml>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-12-18 14:05:06 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|