New package: liblsmash-2.9.1

This commit is contained in:
DirectorX 2017-08-12 17:14:13 +03:00 committed by Michael Aldridge
parent 6b256511e0
commit d551092760
4 changed files with 44 additions and 0 deletions

View File

@ -2880,3 +2880,5 @@ libphodav-2.0.so.0 phodav-2.2_1
libgfshare.so.2 libgfshare-2.0.0_1
libtacacs.so.1 tacacs-4.0.4.28_1
libffms2.so.4 libffms2-2.23.1_1
libduktape.so.201 duktape-2.1.1_1
liblsmash.so.2 liblsmash-2.9.1_1

40
srcpkgs/l-smash/template Normal file
View File

@ -0,0 +1,40 @@
# Template file for 'l-smash'
pkgname=l-smash
version=2.9.1
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=17f24fc8bffba753f8c628f1732fc3581b80362341274747ef6fb96af1cac45c
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.*"
}
}

1
srcpkgs/liblsmash Symbolic link
View File

@ -0,0 +1 @@
l-smash

1
srcpkgs/liblsmash-devel Symbolic link
View File

@ -0,0 +1 @@
l-smash