diff options
Diffstat (limited to 'media-libs/libnspsl/libnspsl-0.1.7.ebuild')
-rw-r--r-- | media-libs/libnspsl/libnspsl-0.1.7.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/libnspsl/libnspsl-0.1.7.ebuild b/media-libs/libnspsl/libnspsl-0.1.7.ebuild new file mode 100644 index 000000000000..1b51837fb7c7 --- /dev/null +++ b/media-libs/libnspsl/libnspsl-0.1.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf + +DESCRIPTION="Public Suffix List (PSL) for the NetSurf browser" +HOMEPAGE="https://www.netsurf-browser.org/projects/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="" + +BDEPEND=" + dev-build/netsurf-buildsystem + virtual/pkgconfig" + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} |