diff --git a/common/shlibs b/common/shlibs index c958f39efb..c6d6204ef2 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1 librte_cryptodev.so.8 dpdk-19.08_1 librte_rawdev.so.1 dpdk-19.08_1 librte_kni.so.2 dpdk-19.08_1 +libredwg.so.0 libredwg-0.9_1 diff --git a/srcpkgs/libredwg-devel b/srcpkgs/libredwg-devel new file mode 120000 index 0000000000..67c8e2fdb1 --- /dev/null +++ b/srcpkgs/libredwg-devel @@ -0,0 +1 @@ +libredwg \ No newline at end of file diff --git a/srcpkgs/libredwg-tools b/srcpkgs/libredwg-tools new file mode 120000 index 0000000000..67c8e2fdb1 --- /dev/null +++ b/srcpkgs/libredwg-tools @@ -0,0 +1 @@ +libredwg \ No newline at end of file diff --git a/srcpkgs/libredwg/template b/srcpkgs/libredwg/template new file mode 100644 index 0000000000..57e680ffd8 --- /dev/null +++ b/srcpkgs/libredwg/template @@ -0,0 +1,33 @@ +# Template file for 'libredwg' +pkgname=libredwg +version=0.9 +revision=1 +build_style=gnu-configure +configure_args="--disable-bindings" +hostmakedepends="pkg-config python3" +makedepends="pcre2-devel" +short_desc="Free library to handle DWG files" +maintainer="Andrew Benson " +license="GPL-3.0-or-later" +homepage="https://www.gnu.org/software/libredwg/" +distfiles="$GNU_SITE/libredwg/libredwg-${version}.tar.xz" +checksum=954f74753860315eb313a3bbb83bf7e5ad03e84bd10408cc629ff2e4e4b3fd46 + +libredwg-tools_package() { + short_desc+=" - utilities" + pkg_install() { + vmove usr/bin + vmove usr/share/man/man1 + } +} + +libredwg-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove "usr/lib/*a" + } +}