diff --git a/common/shlibs b/common/shlibs index 551e022d1e..568be8d42f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3050,3 +3050,4 @@ libembb_mtapi_network_c.so embb-devel-1.0.0_1 libembb_base_cpp.so embb-devel-1.0.0_1 libembb_base_c.so embb-devel-1.0.0_1 libmatio.so.4 matio-1.5.11_1 +libhpdf.so Haru-devel-2.3.0_1 diff --git a/srcpkgs/Haru-devel b/srcpkgs/Haru-devel new file mode 120000 index 0000000000..d1739a270d --- /dev/null +++ b/srcpkgs/Haru-devel @@ -0,0 +1 @@ +Haru \ No newline at end of file diff --git a/srcpkgs/Haru/template b/srcpkgs/Haru/template new file mode 100644 index 0000000000..bfe9622d94 --- /dev/null +++ b/srcpkgs/Haru/template @@ -0,0 +1,27 @@ +# Template file for 'Haru' +pkgname=Haru +version=2.3.0 +revision=1 +build_style=cmake +makedepends="zlib-devel libpng-devel" +short_desc="Free, cross platform, open source library for generating PDF files" +maintainer="Florian Eich " +license="ZLIB/LIBPNG" +homepage="http://libharu.org/" +distfiles="https://github.com/libharu/libharu/archive/RELEASE_${version//./_}.tar.gz" +wrksrc="libharu-RELEASE_${version//./_}" +checksum=8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2 + +post_install() { + vlicense README LICENSE +} + +Haru-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + } +}