From d551092760cb22a73cc4e3dcb7fdb86fcffb48f2 Mon Sep 17 00:00:00 2001 From: DirectorX Date: Sat, 12 Aug 2017 17:14:13 +0300 Subject: [PATCH] New package: liblsmash-2.9.1 --- common/shlibs | 2 ++ srcpkgs/l-smash/template | 40 ++++++++++++++++++++++++++++++++++++++++ srcpkgs/liblsmash | 1 + srcpkgs/liblsmash-devel | 1 + 4 files changed, 44 insertions(+) create mode 100644 srcpkgs/l-smash/template create mode 120000 srcpkgs/liblsmash create mode 120000 srcpkgs/liblsmash-devel diff --git a/common/shlibs b/common/shlibs index 193615238e..69841ad278 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/l-smash/template b/srcpkgs/l-smash/template new file mode 100644 index 0000000000..28ec0d8e97 --- /dev/null +++ b/srcpkgs/l-smash/template @@ -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 " +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.*" + } +} diff --git a/srcpkgs/liblsmash b/srcpkgs/liblsmash new file mode 120000 index 0000000000..c4a1d43bce --- /dev/null +++ b/srcpkgs/liblsmash @@ -0,0 +1 @@ +l-smash \ No newline at end of file diff --git a/srcpkgs/liblsmash-devel b/srcpkgs/liblsmash-devel new file mode 120000 index 0000000000..c4a1d43bce --- /dev/null +++ b/srcpkgs/liblsmash-devel @@ -0,0 +1 @@ +l-smash \ No newline at end of file