B# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later MY_P="`echo ${P} |sed -e 's:-::' -e 's:_b:B:'`" S=${WORKDIR}/${P} DESCRIPTION="CD Cataloguer made with GTK+" SRC_URI="http://www.gwhere.org/download/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" DEPEND=">=x11-libs/gtk+-1.2" RDEPEND=">=x11-libs/gtk+-1.2" src_compile() { local myconf="" use nls ./configure --host=${CHOST} \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die emake || die } src_install() { make prefix=${D}/usr \ sysconfdir=${D}/etc \ localstatedir=${D}/var/lib \ infodir=${D}/usr/share/info \ mandir=${D}/usr/share/man \ install || die }