void-packages/srcpkgs/libmatroska/template

31 lines
834 B
Text

# Template file for 'libmatroska'
pkgname=libmatroska
version=1.3.0
revision=4
makedepends="libebml-devel"
short_desc="Extensible open standard Audio/Video container format"
maintainer="Juan RP <xtraeme@gmail.com>"
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
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
}
libmatroska-devel_package() {
depends="libebml-devel libmatroska>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}