# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gal2/gal2-0.0.3.ebuild,v 1.1 2002/05/23 00:46:16 spider Exp $ # Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+ DEBUG="yes" RESTRICT="nostrip" # force debug information CFLAGS="${CFLAGS} -g" CXXFLAGS="${CXXFLAGS} -g" S=${WORKDIR}/gal2-0-${PV} DESCRIPTION="A text editor for the Gnome2 desktop" SRC_URI="ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/gal2/gal2-0-${PV}.tar.bz2" HOMEPAGE="http://www.gnome.org/" SLOT="0" DEPEND="virtual/glibc" RDEPEND=${DEPEND} src_compile() { ./configure --host=${CHOST} \ --prefix=/usr \ --sysconfdir=/etc \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --localstatedir=/var/lib \ --enable-debug=yes || die emake || die } src_install() { make prefix=${D}/usr \ sysconfdir=${D}/etc \ infodir=${D}/usr/share/info \ mandir=${D}/usr/share/man \ localstatedir=${D}/var/lib \ install || die dodoc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README* THANKS TODO }