#Copyright 2002 Gentoo Technologies, Inc. #Distributed under the terms of the GNU General Public License, v2 or later #Author Benjamin Ritcey A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="A graphical network monitor for Unix modeled after etherman." SRC_URI="http://prdownloads.sourceforge.net/etherape/${P}.tar.gz" HOMEPAGE="http://etherape.sourceforge.net/" DEPEND="virtual/glibc virtual/x11 >=net-libs/libpcap-0.6.2-r1 >=gnome-base/libglade-0.17-r3 >=x11-libs/gtk+-1.2.0" RDEPEND=$DEPEND src_unpack() { unpack ${P}.tar.gz cd ${S} } src_compile() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ || die "./configure failed" # Available options to configure: # --cache-file=FILE cache test results in FILE # --help print this message # --no-create do not create output files # --quiet, --silent do not print `checking...' messages # --version print the version of autoconf that created configure # --prefix=PREFIX install architecture-independent files in PREFIX # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX # --bindir=DIR user executables in DIR [EPREFIX/bin] # --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] # --libexecdir=DIR program executables in DIR [EPREFIX/libexec] # --datadir=DIR read-only architecture-independent data in DIR # --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] # --sharedstatedir=DIR modifiable architecture-independent data in DIR # --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] # --libdir=DIR object code libraries in DIR [EPREFIX/lib] # --includedir=DIR C header files in DIR [PREFIX/include] # --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] # --infodir=DIR info documentation in DIR [PREFIX/info] # --mandir=DIR man documentation in DIR [PREFIX/man] # --srcdir=DIR find the sources in DIR [configure dir or ..] # --program-prefix=PREFIX prepend PREFIX to installed program names # --program-suffix=SUFFIX append SUFFIX to installed program names # --program-transform-name=PROGRAM # --build=BUILD configure for building on BUILD [BUILD=HOST] # --host=HOST configure for HOST [guessed] # --target=TARGET configure for TARGET [TARGET=HOST] # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) # --enable-FEATURE[=ARG] include FEATURE [ARG=yes] # --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] # --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) # --x-includes=DIR X include files are in DIR # --x-libraries=DIR X library files are in DIR #--enable and --with options recognized: # --with-gnome-includes Specify location of GNOME headers # --with-gnome-libs Specify location of GNOME libs # --with-gnome Specify prefix for GNOME files # --enable-shared[=PKGS] build shared libraries [default=yes] # --enable-static[=PKGS] build static libraries [default=yes] # --enable-fast-install[=PKGS] optimize for fast installation [default=yes] # --with-gnu-ld assume the C compiler uses GNU ld [default=no] # --disable-libtool-lock avoid locking (might break parallel builds) # --enable-compile-warnings=[no/minimum/yes] Turn on compiler warnings. # --enable-iso-c Try to warn if code is not ISO C # --with-gtk-prefix=PFX Prefix where GTK is installed (optional) # --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) # --disable-gtktest Do not try to compile and run a test GTK program # --disable-nls do not use Native Language Support # --with-included-gettext use the GNU gettext library included here # --with-catgets use catgets functions if available # --enable-static-pcap Used to build the rpm within Debian. emake || die } src_install () { make DESTDIR=${D} install || die }