blob: d9a5ce8a34c98c598d1780a41225db617048ac11 (
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
39
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/fblogo/fblogo-0.5.0.ebuild,v 1.1 2003/08/17 04:56:15 tad Exp $
DESCRIPTION="Creates images to substitute Linux boot logo"
HOMEPAGE="http://freakzone.net/gordon/#fblogo"
SRC_URI="http://freakzone.net/gordon/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
# The only architecture I tested.
# Since it is a 0.* version, may it be ~x86?
KEYWORDS="x86"
IUSE=""
DEPEND="media-libs/libpng
sys-libs/zlib"
RDEPEND="sys-apps/sed"
S=${WORKDIR}/${P}
src_unpack() {
unpack ${A}
cd ${S}
mv -f Makefile Makefile.orig
sed -e "s:/usr/local:/usr:g" -e "s:^install\:$:install\:\n\
mkdir -p \${DESTDIR}\${PREFIX}\n\
mkdir -p \${DESTDIR}\${BINDIR}\n\
mkdir -p \${DESTDIR}\${MANDIR}/man1:" Makefile.orig > Makefile
rm -f Makefile.orig
}
src_compile() {
emake || die
}
src_install() {
make install DESTDIR=${D} || die
dodoc README CHANGES COPYING
}
|