summaryrefslogtreecommitdiff
blob: c6422e01b616b1e63801227f64dc5761647a40ac (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/bitpim-0.8.07.ebuild,v 1.3 2006/02/09 05:45:52 mrness Exp $

inherit eutils rpm

DESCRIPTION="BitPim is a program that allows you to view and manipulate data on selected cellular phones."
HOMEPAGE="http://www.bitpim.org"
SRC_URI="mirror://sourceforge/${PN}/${P}-0.i386.rpm"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RESTRICT="nostrip"

RDEPEND="|| ( =sys-libs/libstdc++-v3-3.3* =sys-devel/gcc-3.3* )
	amd64? ( app-emulation/emul-linux-x86-baselibs
		app-emulation/emul-linux-x86-compat )"

S="${WORKDIR}"

src_install() {
	cd "${S}/usr/bin"
	exeinto /usr/bin
	doexe bitfling bitpim

	cd "${S}/usr/lib"
	insinto /usr/lib
	insopts -m0644
	doins -r "${P}"

	cd "${D}/usr/lib/${P}"
	chmod a+x *.so *.so.* bp helpers/*
}