From 9acd9d47f286607899ba3bec3687b4d957217093 Mon Sep 17 00:00:00 2001 From: bluntphenomena Date: Fri, 5 Apr 2019 01:04:46 +0200 Subject: [PATCH] New package: libltc closes #10574 --- common/shlibs | 1 + srcpkgs/libltc-devel | 1 + srcpkgs/libltc/template | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 120000 srcpkgs/libltc-devel create mode 100644 srcpkgs/libltc/template diff --git a/common/shlibs b/common/shlibs index b6759260ca8..a00ec51041a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3436,3 +3436,4 @@ libbitcoin-protocol.so.0 libbitcoin-protocol-3.5.0_1 libbitcoin-client.so.0 libbitcoin-client-3.5.0_1 libbitcoin-network.so.0 libbitcoin-network-3.5.0_1 libbitcoin-explorer.so.0 libbitcoin-explorer-3.5.0_1 +libltc.so.11 libltc-1.3.1_1 diff --git a/srcpkgs/libltc-devel b/srcpkgs/libltc-devel new file mode 120000 index 00000000000..a6f8f8ae08e --- /dev/null +++ b/srcpkgs/libltc-devel @@ -0,0 +1 @@ +libltc \ No newline at end of file diff --git a/srcpkgs/libltc/template b/srcpkgs/libltc/template new file mode 100644 index 00000000000..3dcb171f6a6 --- /dev/null +++ b/srcpkgs/libltc/template @@ -0,0 +1,23 @@ +# Template file for 'libltc' +pkgname=libltc +version=1.3.1 +revision=1 +build_style=gnu-configure +short_desc="Linear/Logitudinal Time Code (LTC) Library" +maintainer="bluntphenomena " +license="LGPL-3.0-or-later" +homepage="https://x42.github.io/libltc/" +distfiles="https://github.com/x42/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz" +checksum=50e63eb3b767151bc0159a3cc5d426d03a42fd69029bc9b3b7c346555f4b709c + +libltc-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + vman doc/man/man3/ltc.h.3 + } +}