# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="gtk2 frontend to sublimedirectory.com" HOMEPAGE="http://gnaughty.sf.net" SRC_URI="http://unc.dl.sourceforge.net/sourceforge/gnaughty/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="x86" DEPEND=">=gconf-1.2.1 >=gtk+-2.0.0 >=curl-7.9.8" S="${WORKDIR}/${P}" src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr \ --sysconfdir=/etc \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" emake || die } pkg_postinst () { GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnaughty.schemas } src_install () { dobin src/gnaughty insinto /etc/gconf/schemas doins gnaughty.schemas }