summaryrefslogtreecommitdiff
blob: 5025ce62998663f596886f606590dc5cb377356c (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
# Copyright 2002 Niek van der Maas
# 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.1 2002/11/07 21:03:02 seemant Exp $


S=${WORKDIR}/${P}
DESCRIPTION="Welcome to Linux, ANSI login logo for Linux."
SRC_URI="http://www.chez.com/littleigloo/files/${P}.src.tar.gz"
HOMEPAGE="http://www.littleigloo.org/" 

DEPEND="virtual/glibc"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

src_unpack() { 
	unpack ${A}
	cd ${S}
	patch -p1 < ${FILESDIR}/Welcome2L-3.04-gentoo.patch
}

src_compile() {
	make || die
}

src_install() {
	dobin Welcome2L
	doman Welcome2L.1
	dodoc AUTHORS README INSTALL COPYING ChangeLog BUGS TODO
	exeinto /etc/init.d ; newexe ${FILESDIR}/Welcome2L.initscript Welcome2L
}

pkg_postinst() {
	einfo "NOTE: To start Welcome2L on boot, please type:"
	einfo "rc-update add Welcome2L default"
}