void-packages/srcpkgs/libmp4v2/template

32 lines
761 B
Bash

# Template file for 'libmp4v2'
pkgname=libmp4v2
version=2.0.0
revision=3
wrksrc="mp4v2-${version}"
build_style=gnu-configure
make_install_args="install-man"
short_desc="MPEG-4 library from mpeg4ip"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://code.google.com/p/mp4v2/"
license="MPL-1.1"
distfiles="http://mp4v2.googlecode.com/files/mp4v2-${version}.tar.bz2"
checksum=0319b9a60b667cf10ee0ec7505eb7bdc0a2e21ca7a93db96ec5bd758e3428338
libmp4v2-devel_package() {
depends="libmp4v2>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
mpeg4ip_package() {
short_desc="MPEG-4 tools from mpeg4ip"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}