diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /dev-util/netsurf-buildsystem | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'dev-util/netsurf-buildsystem')
-rw-r--r-- | dev-util/netsurf-buildsystem/Manifest | 4 | ||||
-rw-r--r-- | dev-util/netsurf-buildsystem/files/gentoo-helpers.sh | 18 | ||||
-rw-r--r-- | dev-util/netsurf-buildsystem/metadata.xml | 8 | ||||
-rw-r--r-- | dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild | 26 |
4 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/netsurf-buildsystem/Manifest b/dev-util/netsurf-buildsystem/Manifest new file mode 100644 index 000000000000..1a0c790bf0f9 --- /dev/null +++ b/dev-util/netsurf-buildsystem/Manifest @@ -0,0 +1,4 @@ +AUX gentoo-helpers.sh 276 BLAKE2B 6a27184b85215e212ef19ba216b08025915a445de9cf963ac12062c58fb0878454d312de5e63f277effd4b3061c5f87bebe4767dcb5e06fc6920d3e0e0b766ca SHA512 19e421d068e151c807f15ea3cf7b14f3b17e868ed13c6164a510b801fe33017e26088426d8aecbd52e979382d6e0affec4ef23f4a9c3087ec638cfa6b6653e2b +DIST buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58 +EBUILD netsurf-buildsystem-1.7.ebuild 675 BLAKE2B 0081099385806319e6330fa7007a10185c9d31e904cc9eafac2cc517a52f4ba59d5ffff1d22a65a36b945965112c6de2cf5ba15e2d264971b9f03775d9d8408c SHA512 04f09b53a34c4f796acc5fb9220c2dd74bff013ee7298fb4692c9449f911f3d8adec8ad5b88950d045c93939c68e43f644571654dfa3f6f3170969227478ab96 +MISC metadata.xml 247 BLAKE2B 6a66309df2e6d095dcb3c45e08b061e6e9bf2a074da8beeb37f4d5d4c523f9c09b1bc15afea9c73cd5da6c317b5f47549a5affa40438cf1bbb14b097654170fa SHA512 032acc8722c09ff98d8a24e355eaa2962e97f11ec990029198b123f568d7680b0e8416c1cac716faf4c08e08968cb10fa046869df7ee35f396ba691fc4c20cfc diff --git a/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh b/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh new file mode 100644 index 000000000000..e033a53f7672 --- /dev/null +++ b/dev-util/netsurf-buildsystem/files/gentoo-helpers.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +netsurf_define_makeconf() { + NETSURF_MAKECONF=( + NSSHARED=/usr/share/netsurf-buildsystem + LIBDIR="$(get_libdir)" + PREFIX="${EROOT}/usr" + Q= + CC="$(tc-getCC)" + LD="$(tc-getLD)" + HOST_CC="\$(CC)" + CCOPT= + CCNOOPT= + CCDBG= + LDDBG= + AR="$(tc-getAR)" + ) +} diff --git a/dev-util/netsurf-buildsystem/metadata.xml b/dev-util/netsurf-buildsystem/metadata.xml new file mode 100644 index 000000000000..88de5fc462b1 --- /dev/null +++ b/dev-util/netsurf-buildsystem/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vdupras@gentoo.org</email> + <name>Virgil Dupras</name> + </maintainer> +</pkgmetadata> diff --git a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild new file mode 100644 index 000000000000..f8dd03f986a9 --- /dev/null +++ b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.7.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 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 ~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="${ED}" PREFIX=/usr install + insinto /usr/share/netsurf-buildsystem + doins "${FILESDIR}/gentoo-helpers.sh" +} |