# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.11.ebuild,v 1.1 2007/12/20 17:15:20 gregkh Exp $ if [[ ${PV} = 9999 ]]; then CVS="cvs" AUTOTOOLS="autotools" ECVS_SERVER="barry.cvs.sourceforge.net:/cvsroot/barry" ECVS_MODULE="barry" S="${WORKDIR}/${PN}" else CVS="" SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2" fi inherit ${CVS} ${AUTOTOOLS} DESCRIPTION="Barry is an Open Source Linux application that will allow synchronization, backup, restore, program management, and charging for BlackBerry devices" HOMEPAGE="http://www.netdirect.ca/software/packages/barry/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-libs/libusb dev-libs/openssl" if [[ ${PV} = 9999 ]]; then DEPEND="${DEPEND} >=sys-devel/autoconf-archive-2008.04.17" fi src_unpack() { if [[ ${PV} = 9999 ]]; then cvs_src_unpack cd "${S}" eautoreconf else unpack ${A} cd "${S}" fi } src_install() { emake DESTDIR="${D}" install || die "install failed" dodoc README NEWS # udev rules insinto /etc/udev/rules.d newins udev/10-blackberry.rules 10-blackberry.rules docinto ppp dodoc ppp/* }