diff options
Diffstat (limited to 'dev-libs/libcss')
-rw-r--r-- | dev-libs/libcss/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libcss/libcss-9999.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libcss/Manifest b/dev-libs/libcss/Manifest index 8d5234f3226d..a7bc2e5ace7d 100644 --- a/dev-libs/libcss/Manifest +++ b/dev-libs/libcss/Manifest @@ -1,3 +1,4 @@ DIST libcss-0.9.1-src.tar.gz 522715 BLAKE2B 32206403f77997e6692eed00c9233e6f49f08efc2515901a8bef7590883e44ef320511368fe5a67968102911d849696a4419735c7f6691f0f272fcc3b9a000d8 SHA512 069b30e74ff03fc91666dd16f22a38effbb3e29f066fd0fbc09efdc26dd8678e3f31adeaf918c5596fb962c56335fb2ecdbde1aa6704fcbdec3c2f97d03e5bbe EBUILD libcss-0.9.1-r1.ebuild 1103 BLAKE2B 67815f850ff4e450a4fa3da6e65554620aa64c06c132c40a997095006d63e46070615625fe533b6db72bb97b27082a30476af9f4adde2ebbe3d5ae9929b87c66 SHA512 648d01854d148e6ca7be7a631bd3324e0e8d19532eae1807d7da803ecaae4e1ddfbe457e3c743c63978ca36d383364b24e4ca0a4210f93f433c57b8316fc17a7 +EBUILD libcss-9999.ebuild 796 BLAKE2B f302124f01da81f477499ef04f76b57a12c6e1faad2e09e97088fb66ee818ac27df9697d14715f90a05233ddfb6c480733ba5627a759b1c345ded313ef4488e9 SHA512 adb4ab0b0a9db92ad0aa4f54faedd72496bc9484f6c383991aaee6846ae9b229c55143b4d15fd1675763990617ae7583f6c682482b4ec708767befa01cef1e6f MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 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 +} |