void-packages/srcpkgs/libmatroska/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

23 lines
725 B
Bash

# Template file for 'libmatroska'
pkgname=libmatroska
version=1.4.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
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://dl.matroska.org/downloads/libmatroska/libmatroska-${version}.tar.bz2"
checksum=bea10320f1f1fd121bbd7db9ffc77b2518e8269f00903549c5425478bbf8393f
libmatroska-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}