void-packages/srcpkgs/l-smash/template
DirectorX b55ce31614
l-smash: update to 2.14.5.
Closes #13933.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-30 19:14:43 +02:00

40 lines
950 B
Bash

# Template file for 'l-smash'
pkgname=l-smash
version=2.14.5
revision=1
build_style=configure
configure_args="--enable-shared --disable-static"
short_desc="MP4 muxer and other tools"
maintainer="DirectorX <void.directorx@protonmail.com>"
license="ISC"
homepage="https://github.com/l-smash/l-smash"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=e6f7c31de684f4b89ee27e5cd6262bf96f2a5b117ba938d2d606cf6220f05935
do_configure() {
: ${configure_script:=./configure}
${configure_script} ${configure_args} --cc="${CC}" \
--extra-cflags="${CFLAGS}" --extra-ldflags="${LDFLAGS}" \
--prefix=/usr
}
post_install() {
vlicense LICENSE
}
liblsmash-devel_package() {
depends="liblsmash>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
liblsmash_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}