diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2023-05-27 14:40:30 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2023-05-27 18:01:24 -0400 |
commit | 89cd197377b7271e11c9f56a964e26ceb18fde0f (patch) | |
tree | cb33ef65f8bdf1f2f05aab9fceb19a718a697fcd /dev-libs/libcss | |
parent | media-libs/libnsgif: add 9999 (diff) | |
download | gentoo-89cd197377b7271e11c9f56a964e26ceb18fde0f.tar.gz gentoo-89cd197377b7271e11c9f56a964e26ceb18fde0f.tar.bz2 gentoo-89cd197377b7271e11c9f56a964e26ceb18fde0f.zip |
dev-libs/libcss: add 9999
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-libs/libcss')
-rw-r--r-- | dev-libs/libcss/libcss-9999.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libcss/libcss-9999.ebuild b/dev-libs/libcss/libcss-9999.ebuild new file mode 100644 index 000000000000..54b3baf92934 --- /dev/null +++ b/dev-libs/libcss/libcss-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 netsurf + +DESCRIPTION="CSS parser and selection engine, written in C" +HOMEPAGE="https://www.netsurf-browser.org/projects/libcss/" + +EGIT_REPO_URI="https://git.netsurf-browser.org/${PN}.git" +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libparserutils + dev-libs/libwapcaplet" +DEPEND="${RDEPEND} + test? ( dev-lang/perl )" +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" + +src_prepare() { + default +} + +_emake() { + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} |