summaryrefslogtreecommitdiff
path: root/sys-libs/rpmatch-standalone
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/rpmatch-standalone')
-rw-r--r--sys-libs/rpmatch-standalone/Manifest1
-rw-r--r--sys-libs/rpmatch-standalone/rpmatch-standalone-1.0-r1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-libs/rpmatch-standalone/Manifest b/sys-libs/rpmatch-standalone/Manifest
index 982423a9bc00..9559388dcb67 100644
--- a/sys-libs/rpmatch-standalone/Manifest
+++ b/sys-libs/rpmatch-standalone/Manifest
@@ -1,3 +1,4 @@
DIST rpmatch-standalone-1.0.tar.gz 3151 BLAKE2B e396d18bfb092aa59c70e81028ba889c1095c97b5f13bffbb4ae7b97a1ce63a6c536663304e4fdefaa06a22854dd5b986ff7238f0091b23bcd336cc6db0fca75 SHA512 9d8fc3be66f23b57793eccf62998d1c0ff8df24d8781d37ee99faf618cdceeda778132df2c75ace2ecd8aa6392bcdf15eaa9ce0acd657401af049ccf61fd5b14
+EBUILD rpmatch-standalone-1.0-r1.ebuild 743 BLAKE2B 1fd9518da43f6479f466ebfdea37ae8efc7e4a1afc4909abee3c320fd7669d7ab2863e9f98632f85d20b55aedc8bf6fa35d2bd4f7c59f52c2a50c9abc762ff2a SHA512 936862b97c1b75c9e9d14b216b4638b25869d7726d2e0b7e392e415a1c88aecb8df4ff1f4a98598b73b24771d32966356d010077103967aa3176240a0c96f97f
EBUILD rpmatch-standalone-1.0.ebuild 800 BLAKE2B 9ad635eb0b33cf38e6b6ca87a56004ff8747dd8687d221a0da4a58043c84a81d54bd8b1bd64a6485956e86b8c3c8f276866f90d092a269218cad1b63f25461bb SHA512 23c8186750a777eb3187d5d2fb165871ce1361337b31f1879c7b2fd85b63db0e2ce33729577b5df6a72fda234e5e578eec46bdbc5262bd55c0d1e70d42d1e6a5
MISC metadata.xml 339 BLAKE2B 4b7feb412e98b6883bbf165c78f80a410746765300c4b3fe08e223a166e10d9935e8b599545b0d83cec1bc1e9ca0bf50888c250532e773d47de430c33fda02aa SHA512 6d80d61604d7aa7f3847bac236b75b4af6ae9de33c1c21a8cb227820299dbc7d2187a2514491b571f3e8f688a1cc34836b5cd32232310fd29692d29ca5b847cc
diff --git a/sys-libs/rpmatch-standalone/rpmatch-standalone-1.0-r1.ebuild b/sys-libs/rpmatch-standalone/rpmatch-standalone-1.0-r1.ebuild
new file mode 100644
index 000000000000..7310a10e2914
--- /dev/null
+++ b/sys-libs/rpmatch-standalone/rpmatch-standalone-1.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Standalone rpmatch library for use with musl"
+HOMEPAGE="https://github.com/pullmoll/musl-rpmatch"
+SRC_URI="https://github.com/pullmoll/musl-rpmatch/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/musl-rpmatch-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="static-libs"
+
+RDEPEND="!sys-libs/glibc"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+
+ insinto /usr/$(get_libdir)/pkgconfig/
+ newins musl-rpmatch.pc ${PN}.pc
+}