blob: b1fcf9c3c643b39554ea4e3b6919b34cc79dc077 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/welcome2l/welcome2l-3.04.ebuild,v 1.15 2007/12/17 17:35:11 armin76 Exp $
inherit eutils
MY_PN=Welcome2L
MY_P=${MY_PN}-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Welcome to Linux, ANSI login logo for Linux"
HOMEPAGE="http://www.littleigloo.org/"
SRC_URI="http://www.chez.com/littleigloo/files/${MY_P}.src.tar.gz
mirror://gentoo/${P}-gentoo-r1.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${WORKDIR}"/${P}-gentoo-r1.patch
sed -i -e "s:gcc:$(tc-getCC):g" Makefile
}
src_install() {
dobin ${MY_PN}
doman ${MY_PN}.1
dodoc AUTHORS README INSTALL ChangeLog BUGS TODO
newinitd "${FILESDIR}"/${PN}.initscript ${MY_PN}
}
pkg_postinst() {
elog "NOTE: To start Welcome2L on boot, please type:"
elog "rc-update add Welcome2L default"
}
|