summaryrefslogtreecommitdiff
blob: 7316d9d681cb5f2ad15cd1dd24a0bfb3e85154fe (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
# 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.6 2006/03/23 23:57:34 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="=virtual/libstdc++-3.3
	=x11-libs/gtk+-2.8.8*
	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/*
}