2009-12-31 03:14:03 +00:00
|
|
|
# Template file for 'libmatroska'
|
|
|
|
pkgname=libmatroska
|
2014-04-14 07:39:08 +00:00
|
|
|
version=1.4.1
|
|
|
|
revision=5
|
|
|
|
makedepends="libebml-devel>=1.3.0"
|
2009-12-31 03:14:03 +00:00
|
|
|
short_desc="Extensible open standard Audio/Video container format"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-12 07:41:39 +00:00
|
|
|
homepage="http://dl.matroska.org/downloads/libmatroska/"
|
|
|
|
license="LGPL-2.1"
|
2014-04-14 07:39:08 +00:00
|
|
|
distfiles="http://dl.matroska.org/downloads/libmatroska/libmatroska-${version}.tar.bz2"
|
|
|
|
checksum="086f21873e925679babdabf793c3bb85c353d0cd79423543a3355e08e8a4efb7"
|
2009-12-31 03:14:03 +00:00
|
|
|
|
2013-12-18 14:09:46 +00:00
|
|
|
do_build() {
|
|
|
|
cd make/linux
|
|
|
|
make CC="$CC" CXX="$CXX" LD="$LD" CFLAGS="$CFLAGS" ${makejobs}
|
|
|
|
}
|
2009-12-31 03:14:03 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
do_install() {
|
2013-12-18 14:09:46 +00:00
|
|
|
cd make/linux
|
2013-04-13 08:15:49 +00:00
|
|
|
make prefix=${DESTDIR}/usr install
|
|
|
|
}
|
|
|
|
|
|
|
|
libmatroska-devel_package() {
|
2013-12-18 14:09:46 +00:00
|
|
|
depends="libebml-devel libmatroska>=${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:09:46 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|