/[gentoo-x86]/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
Gentoo

Contents of /games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Dec 12 16:47:32 2010 UTC (3 years, 4 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Added Prefix keywords

(Portage version: 2.2.01.17304-prefix/cvs/Darwin powerpc)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild,v 1.3 2010/10/08 03:52:48 leio Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A collection of funny lines from the Linux kernel"
8 HOMEPAGE="http://www.schwarzvogel.de/software-misc.shtml"
9 SRC_URI="http://www.schwarzvogel.de/pkgs/kernelcookies-${PV}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
14 IUSE="offensive"
15
16 DEPEND="games-misc/fortune-mod"
17
18 S=${WORKDIR}/kernelcookies-${PV}
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 # bug #64985
24 if ! use offensive ; then
25 rm -f *.dat
26 epatch "${FILESDIR}"/${PV}-offensive.patch
27 strfile -s kernelcookies || die
28 fi
29 }
30
31 src_install() {
32 insinto /usr/share/fortune
33 doins kernelcookies.dat kernelcookies || die
34 }

  ViewVC Help
Powered by ViewVC 1.1.20