blob: c7b8d820edeb7383fc2bbef23d3a1e1139966c95 (
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
40
41
42
43
44
45
46
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/prozgui/prozgui-2.0.5.ebuild,v 1.1 2005/03/15 21:49:08 seemant Exp $
inherit eutils
DESCRIPTION="A Graphical download manager"
HOMEPAGE="http://prozilla.genesys.ro/"
SRC_URI="http://prozilla.genesys.ro/downloads/${PN}/tarballs/${P}beta.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc ~amd64"
IUSE=""
DEPEND="virtual/libc
>=x11-libs/fltk-1.1"
S="${WORKDIR}/${P}beta"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-configure.patch
epatch ${FILESDIR}/${P}-options.patch
}
src_compile() {
./configure --prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--host=${CHOST} \
--sysconfdir=/etc \
--disable-nls \
--with-fltk-includes=`fltk-config --cflags | cut -d' ' -f1 | sed 's/-I//'` \
--with-fltk-libs=`fltk-config --ldflags | cut -d' ' -f1 | sed 's/-L//'` || die
emake || die
}
src_install () {
make DESTDIR=${D} \
sysconfdir=${D}/etc \
install || die
dodoc ANNOUNCE AUTHORS COPYING CREDITS ChangeLog FAQ NEWS README TODO
}
|