diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /dev-libs/libparserutils | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'dev-libs/libparserutils')
-rw-r--r-- | dev-libs/libparserutils/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libparserutils/libparserutils-0.2.4-r2.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/libparserutils/Manifest b/dev-libs/libparserutils/Manifest index 0b69d355ba5b..191ebf8fe478 100644 --- a/dev-libs/libparserutils/Manifest +++ b/dev-libs/libparserutils/Manifest @@ -3,4 +3,5 @@ DIST libparserutils-0.2.4-src.tar.gz 74521 BLAKE2B 85e39d64bb8365f95da227e3a52ea DIST netsurf-buildsystem-1.5.tar.gz 38196 BLAKE2B 298ef39d45b98ae5ef57a22aed9f22bf96dfd6ad5475964c04451eaf28aca7f451b4906002c3e110ffcc951015169f02ffcd85f24e54b46c47b25e048115db1c SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4 EBUILD libparserutils-0.2.3.ebuild 594 BLAKE2B de28d631a4441252c99427514903d940386ef97b58dd2c2ab887a99d523c97f18485274e4399d3b0924b4318397fe165699599e2479463403a0479cdcbf1b011 SHA512 da4fe6b526150b45a9bf6d16f412309122564fb1470bf92e5d4f54b425e98ba8ad33aeee0b5ed2f93c9c7383dc4cb320bb3e6ddac1f954ff5e4ec4bc1ea6240b EBUILD libparserutils-0.2.4-r1.ebuild 941 BLAKE2B 6aa42423fb0351a1d0d2d29ef53a3b5dca9a889290b7129daaae8c1397aaffc106da2cf878f6b9a188d2da7802d33fa4643633cf26c781aae9307710bec39231 SHA512 0673b7a4d2a59a5ccbc1fd55a2897eb1b958271f3f41161c33d9c8b62587f8942c4b164155f920f06eede93b872da97395aaea9e55ab9c006d2136bb1881dfd0 +EBUILD libparserutils-0.2.4-r2.ebuild 928 BLAKE2B 1e6e4b6ece27cb25070da2778a6a183edf887187c4cd5883821adfc6cc7435087b69c9d84aa49fad2d7bb43686195a2e9a5aeaa939699b8abae35df1ee2cff81 SHA512 59d9bbb4411556fd49a12de75026d2737e8315c856e87eb32f7082dedee0757da854d404e5dc215327f6510709506ea2652f28062cd5f1e8851348e9dea5d248 MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/dev-libs/libparserutils/libparserutils-0.2.4-r2.ebuild b/dev-libs/libparserutils/libparserutils-0.2.4-r2.ebuild new file mode 100644 index 000000000000..da1c2cd28a77 --- /dev/null +++ b/dev-libs/libparserutils/libparserutils-0.2.4-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="C library for building efficient parsers" +HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~m68k-mint" +IUSE="iconv test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1 + test? ( dev-lang/perl )" + +DOCS=( README docs/Todo ) + +src_configure() { + append-cflags "-D$(usex iconv WITH WITHOUT)_ICONV_FILTER" +} + +_emake() { + source /usr/share/netsurf-buildsystem/gentoo-helpers.sh + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install +} |