# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Tod Neidt # /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.11 2001/12/06 22:12:34 drobbins Exp S=${WORKDIR}/${P} DESCRIPTION="Gnome Hexadecimal editor" SRC_URI="http://pluton.ijs.si/~jaka/${P}.tar.gz" HOMEPAGE="http://pluton.ijs.si/~jaka/gnome.html" DEPEND=">=x11-libs/gtk+-1.2.10-r4 >=gnome-base/gnome-libs-1.4.1.2-r3 >=gnome-base/ORBit-0.5.12-r1 >=gnome-base/gnome-print-0.34 >=app-text/scrollkeeper-0.2 nls? ( sys-devel/gettext )" src_compile() { local myconf="" use nls || myconf="$myconf --disable-nls" #default enabled ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ ${myconf} || die "Configuration Failed" emake || die "Parallel Make Failed" } src_install () { #By default the package inserts ghex into the gnome menu under the application #category. I think it should go under development. Could change that in the future #depending on what every one else thinks, i.e change 'Type=Application' to #'Type=Development' in the ghex.desktop file and install appropriately. make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ GNOME_DATA_DIR=${D}/usr/share \ install || die "Installation Failed" dodoc ABOUT-NLS AUTHORS COPYING COPYING-DOCS ChangeLog INSTALL \ NEWS README }