diff --git a/common/shlibs b/common/shlibs index 05a4ea1fb0..17095ef8a5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2548,3 +2548,4 @@ libTKXmlL.so.10 oce-0.17.1_1 libTKXmlTObj.so.10 oce-0.17.1_1 libTKXmlXCAF.so.10 oce-0.17.1_1 libTKernel.so.10 oce-0.17.1_1 +librpmatch.so.0 musl-rpmatch-1.0_1 diff --git a/srcpkgs/musl-rpmatch-devel b/srcpkgs/musl-rpmatch-devel new file mode 120000 index 0000000000..8c8ff3ea3e --- /dev/null +++ b/srcpkgs/musl-rpmatch-devel @@ -0,0 +1 @@ +musl-rpmatch \ No newline at end of file diff --git a/srcpkgs/musl-rpmatch/template b/srcpkgs/musl-rpmatch/template new file mode 100644 index 0000000000..d71a30bc5c --- /dev/null +++ b/srcpkgs/musl-rpmatch/template @@ -0,0 +1,33 @@ +# Template file for 'musl-rpmatch' +pkgname=musl-rpmatch +version=1.0 +revision=1 +build_style=gnu-configure +configure_args="--enable-shared --enable-static" +hostmakedepends="automake libtool gettext-devel" +makedepends="gettext-devel" +short_desc="Implementation of rpmatch(3) for musl libc" +maintainer="Jürgen Buchmüller " +license="3-clause-BSD" +homepage="https://github.com/pullmoll/musl-rpmatch" +distfiles="https://github.com/pullmoll/musl-rpmatch/archive/v${version}.tar.gz" +checksum=dcbd41909bd69eaeedd20f03435b165406b514465249186ff1ca68d04fd35953 + +pre_configure() { + ./bootstrap.sh +} + +post_install() { + vinstall musl-rpmatch.pc 644 usr/lib/pkgconfig +} + +musl-rpmatch-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/*.a + vmove usr/lib/pkgconfig + } +}