/[gentoo-x86]/net-misc/fwbuilder/fwbuilder-1.0.3-r1.ebuild
Gentoo

Contents of /net-misc/fwbuilder/fwbuilder-1.0.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Dec 4 14:34:45 2002 UTC (16 years, 9 months ago) by foser
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
fixed deps

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/fwbuilder/fwbuilder-1.0.3-r1.ebuild,v 1.4 2002/10/04 06:11:31 vapier Exp $
4
5 DESCRIPTION="A firewall GUI"
6 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
7 HOMEPAGE="http://fwbuilder.sourceforge.net"
8 S=${WORKDIR}/${P}
9
10 KEYWORDS="x86 sparc sparc64"
11 LICENSE="GPL-2"
12 SLOT="0"
13
14 DEPEND=">=x11-libs/gtkmm-1.2.5-r1
15 sys-apps/iproute
16 >=dev-libs/libxslt-1.0.1
17 >=net-libs/libfwbuilder-0.10.7
18 media-libs/gdk-pixbuf
19 dev-libs/libxml2"
20 RDEPEND=$DEPEND
21
22 src_compile() {
23 local myconf
24 use static && myconf="${myconf} --enable-shared=no --enable-static=yes"
25
26 ./configure \
27 --prefix=/usr \
28 --host=${CHOST} || die "./configure failed"
29
30 cp config.h config.h.orig
31 sed -e "s:#define HAVE_XMLSAVEFORMATFILE 1://:" config.h.orig > config.h
32
33 if [ "`use static`" ]
34 then
35 emake LDFLAGS="-static" || die "emake LDFLAGS failed"
36 else
37 emake || die "emake failed"
38 fi
39 }
40
41 src_install () {
42 emake DESTDIR=${D} install || die "emake install failed"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20