blob: b56bfc8c9e5c36ce467138ed7dd56823ca771667 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# 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"
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
}
|