# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ DESCRIPTION="Barry is a desktop tool for managing your BlackBerry (tm) device. (BlackBerry is a registered trademark of Research in Motion Limited.)" HOMEPAGE="http://www.netdirect.ca/downloads/barry" SRC_URI="http://www.netdirect.ca/downloads/barry/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND=">=dev-libs/libusb-0.1.12" RDEPEND="${DEPEND}" src_compile() { g++ -Wall -g -o bcharge bcharge.cc -lusb } src_install() { mkdir -p ${D}/usr/sbin ${D}/etc/udev/rules.d || die install -m 755 bcharge ${D}/usr/sbin || die install -m 644 10-blackberry.rules ${D}/etc/udev/rules.d || die }