summaryrefslogtreecommitdiff
blob: 2752908ef0dc32004645095982ef15f01fecb3d3 (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
# 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.1 2006/02/01 21:20:37 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"
DEPEND="|| ( =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/*
}