summaryrefslogtreecommitdiff
path: root/dev-util/netsurf-buildsystem
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/netsurf-buildsystem')
-rw-r--r--dev-util/netsurf-buildsystem/Manifest3
-rw-r--r--dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh22
-rw-r--r--dev-util/netsurf-buildsystem/netsurf-buildsystem-1.9.ebuild26
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/netsurf-buildsystem/Manifest b/dev-util/netsurf-buildsystem/Manifest
index 4293ac81c913..a975b31e4deb 100644
--- a/dev-util/netsurf-buildsystem/Manifest
+++ b/dev-util/netsurf-buildsystem/Manifest
@@ -1,4 +1,7 @@
AUX gentoo-helpers-r1.sh 384 BLAKE2B dc6440065bb1595fcc6844c041cd40b438ac1c899dc01657ccc42efff499ece568af4b32b7859fb8f83f4d09df8cb602cba8ed25eaad1f4ab53f5542b908d1a4 SHA512 1f5de64f600db640fcc31855f10d2665badeaccb9679b01bb96b8ddf66d7ed25e86ed8b46e5eacb2371900bbbe1473754b018d70174f2375851d17bb6241f2e0
+AUX gentoo-helpers-r2.sh 388 BLAKE2B 2e7f1fd1eb7d9366514ccad5cb356689005f7028a423b60600ab8297b053ce37b154de37258ef4bfe759bf2b2b4007c3e416eeb3dd9937f75c9c41ef93c1bfc5 SHA512 8aad232d938e4aaac424389833012eb0c29409b8d558cf4cc6e894b7e3baa23ba29364aa1b7a2872bab6b507d52436cd5ecf3d5b42ccc52bcbed2d2c78034b36
DIST buildsystem-1.8.tar.gz 38617 BLAKE2B 0fd5539feae0b81828efe90c82baf6ce7fceec2f2189adddb0e32d2106f9263ebd14b32f3dce8daae13110f0e69801caed48ce81709ce09d809ba50041690cc7 SHA512 0f577f4867e5e12770f9b9c42ea55e884362180bc195b6ebf56e56305ce84e230407cd2ebb3b182cc03087ffef5f39187e52e2e2f8f2b86aa20a16fa33bdff8b
+DIST buildsystem-1.9.tar.gz 38723 BLAKE2B 0fc4aae4f9a21058c7e437170e74147f6b6dc20220d53986a212e717846d5738df2771081f000705cd69335fbe61653b24a3e86d454a53b24f9cadd5e7aaac97 SHA512 52d7181af56946b95f22d5cc8fb2c58287fe43c940d4104e4a05744cfe332d0e0ea6da76cb8d635eb34cac4d66f53dc01ac5f440b82a207265d39744f112a80d
EBUILD netsurf-buildsystem-1.8-r1.ebuild 696 BLAKE2B 8800c0bddf0ff7efc2cb23680f312a1dd7c4bdeea6a41b52a2fac4bdda19e876d26ed793de9eecad1f3e665c96fb067fc7baf5f85c7453af2e76bd10924408d2 SHA512 10727448657df6e2b3f47e4fe0b067fdf7484d56c93115b3559e533216513c97e8c5b9e84fcc4ad52790d1e158267387dc390e81de5290d81481abda3af308b0
+EBUILD netsurf-buildsystem-1.9.ebuild 715 BLAKE2B 076adffafbee97c5e34bd4022514216b6e5dd21bb3e05f447d29e3cf25d53fbdd2554d3eb7b6bb044248a25fa61ebcfb240e2ead8648f1b04d8306a9fadb632c SHA512 326cd81138a70632840241801d81e5f2eff9d2737a768cda0d99d4cfc702c6d7997434623c698c7ba40c18fae8b568e255bd4b6e254b68ddd93d98c06ba51eba
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
diff --git a/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh b/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh
new file mode 100644
index 000000000000..403279ecc5f6
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/files/gentoo-helpers-r2.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+netsurf_define_makeconf() {
+ NETSURF_MAKECONF=(
+ PREFIX="${EPREFIX}/usr"
+ NSSHARED="${EPREFIX}/usr/share/netsurf-buildsystem"
+ LIBDIR="$(get_libdir)"
+ Q=
+ CC="$(tc-getCC)"
+ LD="$(tc-getLD)"
+ HOST_CC="\$(CC)"
+ BUILD_CC="$(tc-getBUILD_CC)"
+ CXX="$(tc-getCXX)"
+ BUILD_CXX="$(tc-getBUILD_CXX)"
+ CCOPT=
+ CCNOOPT=
+ CCDBG=
+ LDDBG=
+ AR="$(tc-getAR)"
+ WARNFLAGS=
+ )
+}
diff --git a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.9.ebuild b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.9.ebuild
new file mode 100644
index 000000000000..70b4b63fad4f
--- /dev/null
+++ b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.9.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="buildsystem-${PV}"
+DESCRIPTION="Build system used for netsurf and its libs"
+HOMEPAGE="https://www.netsurf-browser.org"
+SRC_URI="https://download.netsurf-browser.org/libs/releases/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~m68k-mint"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ insinto /usr/share/netsurf-buildsystem
+ newins "${FILESDIR}/gentoo-helpers-r2.sh" gentoo-helpers.sh
+}