# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/btnx/btnx-config-9999.ebuild $ # btnx-config-9999 -> SVN inherit subversion DESCRIPTION="(necessary) GUI to configure btnx" HOMEPAGE="http://www.ollisalonen.com/btnx/" SRC_URI="" ESVN_REPO_URI="http://svn.ollisalonen.com/btnx-config/trunk" S=${WORKDIR}/trunk LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" # not tested on other systems IUSE="" # depends on btnx, libglade, libgtk2 # Hint: I made a portage overly and copied the ebuild for btnx to app-misc/btnx, # because of the dependecies you have to do it too or correct the path to btnx DEPEND=">=app-misc/btnx-0.4.7 >=gnome-base/libglade-2.6.0 >=dev-util/pkgconfig-0.21 >=x11-libs/gtk+-2.10.11" #and website: needs "built-essential". What does this mean? It works for me without this. src_unpack() { eerror "This is the latest svn version" eerror "That means there are NO promises it will work" eerror "or the dependecies are not up to date and cannot be solved correctly" subversion_src_unpack cd "${S}" } src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed." }