diff options
Diffstat (limited to 'games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild')
-rw-r--r-- | games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild new file mode 100644 index 000000000000..82409850ec98 --- /dev/null +++ b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_PN="${PN/-mod/s}" +MY_P="${MY_PN}_${PV}" + +DESCRIPTION="Quotes from Prolinux articles and comments" +HOMEPAGE="http://downloads.nanolx.org/index.php?dir=fortunes-flashrider" +SRC_URI="http://downloads.nanolx.org/fortunes-flashrider/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +DEPEND="games-misc/fortune-mod" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() +{ + sed -e 's#INSTALLDIR = .*#INSTALLDIR = /share/fortune#' -i Makefile +} + +src_install() { + emake install PREFIX="${EPREFIX}"/usr DESTDIR="${D}" + dodoc AUTHORS ChangeLog README +} |