Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 431164
Collapse All | Expand All

(-)gnokii-0.6.29.ebuild.orig (-8 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.29.ebuild,v 1.8 2011/07/22 12:06:53 xarthisius Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.29.ebuild,v 1.8 2011/07/22 12:06:53 xarthisius Exp $
4
4
5
EAPI=2
5
EAPI=4
6
6
7
inherit eutils linux-info autotools
7
inherit eutils linux-info autotools
8
8
Lines 10-16 Link Here
10
HOMEPAGE="http://www.gnokii.org/"
10
HOMEPAGE="http://www.gnokii.org/"
11
if [ "$PV" != "9999" ]; then
11
if [ "$PV" != "9999" ]; then
12
	SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"
12
	SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"
13
	KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
13
	KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
14
else
14
else
15
	SRC_URI=""
15
	SRC_URI=""
16
	KEYWORDS=""
16
	KEYWORDS=""
Lines 25-31 Link Here
25
RDEPEND="!app-mobilephone/smstools
25
RDEPEND="!app-mobilephone/smstools
26
	sys-apps/pcsc-lite
26
	sys-apps/pcsc-lite
27
	X? ( x11-libs/gtk+:2 )
27
	X? ( x11-libs/gtk+:2 )
28
	bluetooth? ( net-wireless/bluez )
28
	bluetooth? ( kernel_linux? ( net-wireless/bluez ) )
29
	sms? (
29
	sms? (
30
		!app-mobilephone/smstools
30
		!app-mobilephone/smstools
31
		dev-libs/glib:2
31
		dev-libs/glib:2
Lines 54-60 Link Here
54
	else
54
	else
55
		epatch "${FILESDIR}"/${P}-icon.patch
55
		epatch "${FILESDIR}"/${P}-icon.patch
56
		epatch "${FILESDIR}"/${P}-translations.patch
56
		epatch "${FILESDIR}"/${P}-translations.patch
57
		intltoolize --force --copy --automake || die "intltoolize error"
57
		intltoolize --force --copy --automake
58
	fi
58
	fi
59
59
60
	eautoreconf
60
	eautoreconf
Lines 81-96 Link Here
81
		$(use_enable debug rlpdebug) \
81
		$(use_enable debug rlpdebug) \
82
		--enable-security \
82
		--enable-security \
83
		--disable-unix98test \
83
		--disable-unix98test \
84
		--enable-libpcsclite \
84
		--enable-libpcsclite
85
		|| die "configure failed"
86
}
85
}
87
86
88
src_install() {
87
src_install() {
89
	einstall || die "make install failed"
88
	default
90
89
91
	insinto /etc
90
	insinto /etc
92
	doins Docs/sample/gnokiirc
91
	doins Docs/sample/gnokiirc
93
	sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc"
92
	sed -i -e 's:/usr/local:'"${EPREFIX}"'/usr:' "${ED}/etc/gnokiirc"
94
93
95
	# only one file needs suid root to make a pseudo device
94
	# only one file needs suid root to make a pseudo device
96
	fperms 4755 /usr/sbin/mgnokiidev
95
	fperms 4755 /usr/sbin/mgnokiidev

Return to bug 431164