diff options
author | Virgil Dupras <vdupras@gentoo.org> | 2018-11-13 11:12:05 -0500 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2018-11-13 13:04:20 -0500 |
commit | 51120c82ee8d08d35b6ca0bb5ffea459012b5f33 (patch) | |
tree | 0077c323c3b239d6c8d2f9731cb056e388e38073 | |
parent | dev-util/netsurf-buildsystem: new package (diff) | |
download | gentoo-51120c82ee8d08d35b6ca0bb5ffea459012b5f33.tar.gz gentoo-51120c82ee8d08d35b6ca0bb5ffea459012b5f33.tar.bz2 gentoo-51120c82ee8d08d35b6ca0bb5ffea459012b5f33.zip |
dev-libs/libnsutils: drop netsurf eclass
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r-- | dev-libs/libnsutils/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libnsutils/libnsutils-0.0.5-r1.ebuild | 31 | ||||
-rw-r--r-- | dev-libs/libnsutils/libnsutils-0.0.5.ebuild | 24 |
3 files changed, 31 insertions, 25 deletions
diff --git a/dev-libs/libnsutils/Manifest b/dev-libs/libnsutils/Manifest index 47cb92390c55..10509d4cc295 100644 --- a/dev-libs/libnsutils/Manifest +++ b/dev-libs/libnsutils/Manifest @@ -1,2 +1 @@ DIST libnsutils-0.0.5-src.tar.gz 7653 BLAKE2B 4f7810f436f5ffd33084bc67095f3cb48a7744ef6f9ab0d632cd7b87467ff8bca54809de5a8ea837a00429c951d4e701909bd5f185e1c600a7323393017596cb SHA512 b9611db39adf11aa4e29387614bf55e241c075a223c687f5520e5b6808cc392c847be1a1d74559928e385a93886c4a67158504342384a1b200cf9ce13c00db50 -DIST netsurf-buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58 diff --git a/dev-libs/libnsutils/libnsutils-0.0.5-r1.ebuild b/dev-libs/libnsutils/libnsutils-0.0.5-r1.ebuild new file mode 100644 index 000000000000..3d5b760770bb --- /dev/null +++ b/dev-libs/libnsutils/libnsutils-0.0.5-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="base64 and time library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc" +IUSE="" + +DEPEND="dev-util/netsurf-buildsystem" + +_emake() { + source /usr/share/netsurf-buildsystem/gentoo-helpers.sh + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${ED}" install +} diff --git a/dev-libs/libnsutils/libnsutils-0.0.5.ebuild b/dev-libs/libnsutils/libnsutils-0.0.5.ebuild deleted file mode 100644 index a984dac5bcef..000000000000 --- a/dev-libs/libnsutils/libnsutils-0.0.5.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -NETSURF_BUILDSYSTEM=buildsystem-1.7 -inherit netsurf - -DESCRIPTION="base64 and time library, written in C" -HOMEPAGE="http://www.netsurf-browser.org/" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~ppc" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND}" - -src_prepare() { - # working around broken netsurf eclass - default - multilib_copy_sources -} |