summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-11-13 11:28:24 -0500
committerVirgil Dupras <vdupras@gentoo.org>2018-11-13 13:04:21 -0500
commita9718addde2cd2d4ce384d7d5834cff34d8dc9ac (patch)
tree53bbbc8a5b368856979b76cdfe7303e926b1dd9f /dev-libs/nsgenbind
parentdev-libs/libutf8proc: drop netsurf eclass (diff)
downloadgentoo-a9718addde2cd2d4ce384d7d5834cff34d8dc9ac.tar.gz
gentoo-a9718addde2cd2d4ce384d7d5834cff34d8dc9ac.tar.bz2
gentoo-a9718addde2cd2d4ce384d7d5834cff34d8dc9ac.zip
dev-libs/nsgenbind: drop netsurf eclass
Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-libs/nsgenbind')
-rw-r--r--dev-libs/nsgenbind/Manifest1
-rw-r--r--dev-libs/nsgenbind/nsgenbind-0.6-r1.ebuild33
-rw-r--r--dev-libs/nsgenbind/nsgenbind-0.6.ebuild23
3 files changed, 33 insertions, 24 deletions
diff --git a/dev-libs/nsgenbind/Manifest b/dev-libs/nsgenbind/Manifest
index 4a7f76486875..cc7b56f09034 100644
--- a/dev-libs/nsgenbind/Manifest
+++ b/dev-libs/nsgenbind/Manifest
@@ -1,2 +1 @@
-DIST netsurf-buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58
DIST nsgenbind-0.6-src.tar.gz 106862 BLAKE2B 9b40ae6298921736f7d876ae664207eb71102adbe44f4072ea46b08b63cb5cf608df4c96f3ade1c8cca964d8d8b32d68aad25431f6fd455eb8392d8313faa9e9 SHA512 3083b48e48fcf8c7f32b09d040998470d5917469e020c4ccbfb8ffdb7d1252fd27dd02f590f5a2485c6984cdbc005ea87adf0db45077aee0a91f68037c542ffb
diff --git a/dev-libs/nsgenbind/nsgenbind-0.6-r1.ebuild b/dev-libs/nsgenbind/nsgenbind-0.6-r1.ebuild
new file mode 100644
index 000000000000..50477a5ac2c0
--- /dev/null
+++ b/dev-libs/nsgenbind/nsgenbind-0.6-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="generate javascript to dom bindings from w3c webidl files"
+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
+ virtual/yacc"
+
+_emake() {
+ source /usr/share/netsurf-buildsystem/gentoo-helpers.sh
+ netsurf_define_makeconf
+ emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=binary $@
+}
+
+src_compile() {
+ _emake
+}
+
+src_install() {
+ _emake DESTDIR="${ED}" install
+}
diff --git a/dev-libs/nsgenbind/nsgenbind-0.6.ebuild b/dev-libs/nsgenbind/nsgenbind-0.6.ebuild
deleted file mode 100644
index e0ee94d77258..000000000000
--- a/dev-libs/nsgenbind/nsgenbind-0.6.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-NETSURF_COMPONENT_TYPE=binary
-NETSURF_BUILDSYSTEM=buildsystem-1.7
-inherit netsurf
-
-DESCRIPTION="generate javascript to dom bindings from w3c webidl files"
-HOMEPAGE="http://www.netsurf-browser.org/"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc"
-IUSE=""
-
-DEPEND="virtual/yacc"
-
-src_prepare() {
- # working around broken netsurf eclass
- default
- multilib_copy_sources
-}