diff options
Diffstat (limited to 'dev-util/netsurf-buildsystem/netsurf-buildsystem-1.8.ebuild')
-rw-r--r-- | dev-util/netsurf-buildsystem/netsurf-buildsystem-1.8.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.8.ebuild b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.8.ebuild new file mode 100644 index 000000000000..501f05fcff97 --- /dev/null +++ b/dev-util/netsurf-buildsystem/netsurf-buildsystem-1.8.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 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="${ED}" PREFIX=/usr install + insinto /usr/share/netsurf-buildsystem + newins "${FILESDIR}/gentoo-helpers-r1.sh" gentoo-helpers.sh +} |