diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-09-23 04:50:08 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-09-23 04:50:08 +0000 |
commit | e27533a3a010ba0ca1f1ad6f278b5a15ee2b1b93 (patch) | |
tree | 497b6d078052eafb3e1fe2782d76d6ec711344f8 /games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild | |
parent | stable for security #53375 (Manifest recommit) (diff) | |
download | gentoo-2-e27533a3a010ba0ca1f1ad6f278b5a15ee2b1b93.tar.gz gentoo-2-e27533a3a010ba0ca1f1ad6f278b5a15ee2b1b93.tar.bz2 gentoo-2-e27533a3a010ba0ca1f1ad6f278b5a15ee2b1b93.zip |
support the offensive flag for bug #64985
Diffstat (limited to 'games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild')
-rw-r--r-- | games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild index 565e0728de72..f5ded62f541d 100644 --- a/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild +++ b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild,v 1.2 2004/06/25 03:21:19 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild,v 1.3 2004/09/23 04:50:08 mr_bones_ Exp $ + +inherit eutils DESCRIPTION="A collection of funny lines from the Linux kernel" HOMEPAGE="http://www.schwarzvogel.de/software-misc.shtml" @@ -9,11 +11,22 @@ SRC_URI="http://www.schwarzvogel.de/pkgs/kernelcookies-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc mips alpha hppa amd64" -IUSE="" +IUSE="offensive" + +DEPEND="games-misc/fortune-mod" -RDEPEND="games-misc/fortune-mod" +S="${WORKDIR}/kernelcookies-${PV}" -S=${WORKDIR}/kernelcookies-${PV} +src_unpack() { + unpack ${A} + cd "${S}" + # bug #64985 + if ! use offensive ; then + rm -f *.dat + epatch "${FILESDIR}/${PV}-offensive.patch" + strfile -s kernelcookies + fi +} src_install() { insinto /usr/share/fortune |