void-packages/srcpkgs/libmatroska/template

32 lines
834 B
Text
Raw Normal View History

# Template file for 'libmatroska'
pkgname=libmatroska
version=1.3.0
2013-12-18 14:09:46 +00:00
revision=4
makedepends="libebml-devel"
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"
distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2"
checksum=5231ec958571365e719a6fd3c220227af6cf0f14e0bd1bcf766ddbc068d18e69
2013-12-18 14:09:46 +00:00
do_build() {
cd make/linux
make CC="$CC" CXX="$CXX" LD="$LD" CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
2013-12-18 14:09:46 +00:00
cd make/linux
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"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2013-12-18 14:09:46 +00:00
vmove "usr/lib/*.so"
}
}