summaryrefslogtreecommitdiff
blob: 8a4db7ff8f831a1bebe3315d3a3e822085503bf9 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild,v 1.8 2006/08/17 19:35:45 corsair Exp $

inherit eutils

DESCRIPTION="Library and applications to access GSM mobile phones"
SRC_URI="http://www.pxh.de/fs/gsmlib/snapshots/${PN}-pre${PV%_pre*}-${PV#*_pre}.tar.gz"
HOMEPAGE="http://www.pxh.de/fs/gsmlib/"

IUSE=""
SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="~amd64 ppc ppc64 sparc x86"

RESTRICT="test"

S="${WORKDIR}/${PN}-${PV%_pre*}"

src_unpack() {
	unpack ${A}

	epatch "${FILESDIR}/${P%_pre*}-include-gcc34-fix.patch"
	epatch "${FILESDIR}/${P%_pre*}-gcc41.patch"
}

src_install () {
	make DESTDIR="${D}" install || die "make install failed"
	dodoc Changelog README
}