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