# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: inherit eutils DESCRIPTION="Bluetooth PIN helper with D-BUS support" HOMEPAGE="http://gpe.handhelds.org/projects/bluez-pin.shtml" SRC_URI="ftp://gpe.handhelds.org/projects/gpe/source/${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="" RDEPEND=">=sys-apps/dbus-0.23-r3 =x11-libs/gtk+-2.6.8 >=gnome-base/libglade-2.5.1 >=gnome-base/gconf-2.10.1-r1 >=net-wireless/bluez-libs-2.19" DEPEND="sys-apps/sed ${RDEPEND}" src_unpack() { unpack ${A} # fix installation locations sed -i -e "s:/usr/local:/usr:" \ -e "s:\$(PREFIX)/etc:/etc:" \ ${S}/Makefile } src_compile() { # no configure emake || die } src_install() { make DESTDIR=${D} install || die }