1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 MY_P="buildsystem-${PV}"
7 DESCRIPTION="Build system used for netsurf and its libs"
8 HOMEPAGE="https://www.netsurf-browser.org"
9 SRC_URI="https://download.netsurf-browser.org/libs/releases/${MY_P}.tar.gz"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~m68k-mint"
15 S="${WORKDIR}/${MY_P}"
19 sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools" || die
23 emake DESTDIR="${ED}" PREFIX=/usr install
24 insinto /usr/share/netsurf-buildsystem
25 doins "${FILESDIR}/gentoo-helpers.sh"