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

Contents of /net-misc/fwbuilder/fwbuilder-1.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Aug 5 09:05:24 2002 UTC (17 years, 2 months ago) by aliz
Branch: MAIN
Version bump

1 aliz 1.1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License, v2 or later
3     # $Header: /home/cvsroot/gentoo-x86/net-misc/fwbuilder/fwbuilder-1.0.4.ebuild,v 1.0
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"
11     LICENSE="GPL-2"
12     SLOT="0"
13    
14     DEPEND=">=x11-libs/gtkmm-1.2.8
15     >=dev-libs/libxslt-1.0.7
16     >=net-libs/libfwbuilder-0.10.8
17     media-libs/gdk-pixbuf
18     dev-libs/libxml2"
19     RDEPEND=$DEPEND
20    
21     src_compile() {
22     local myconf
23     use static && myconf="${myconf} --enable-shared=no --enable-static=yes"
24    
25     ./autogen.sh \
26     --prefix=/usr \
27     --host=${CHOST} || die "./configure failed"
28    
29     cp config.h config.h.orig
30     sed -e "s:#define HAVE_XMLSAVEFORMATFILE 1://:" config.h.orig > config.h
31    
32     if [ "`use static`" ]
33     then
34     emake LDFLAGS="-static" || die "emake LDFLAGS failed"
35     else
36     emake || die "emake failed"
37     fi
38     }
39    
40     src_install() {
41     emake DESTDIR=${D} install || die "emake install failed"
42     }
43    
44     pkg_postinst() {
45     einfo "You may have to install iproute on the machine that"
46     einfo "will run the firewall script."
47     }

  ViewVC Help
Powered by ViewVC 1.1.20