/[gentoo-x86]/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild
Gentoo

Diff of /app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1.1.1 Revision 1.13
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
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/gsmlib/gsmlib-1.11_pre041028.ebuild,v 1.1.1.1 2005/11/30 09:36:30 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild,v 1.13 2010/06/01 08:26:20 bangert Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7MY_A=${PN}-pre${PV%_pre*}-${PV#*_pre}
8
9DESCRIPTION="Library and Applications to access GSM mobile phones" 7DESCRIPTION="Library and applications to access GSM mobile phones"
10SRC_URI="http://www.pxh.de/fs/gsmlib/snapshots/${MY_A}.tar.gz" 8SRC_URI="http://www.pxh.de/fs/gsmlib/snapshots/${PN}-pre${PV%_pre*}-${PV#*_pre}.tar.gz"
11HOMEPAGE="http://www.pxh.de/fs/gsmlib/" 9HOMEPAGE="http://www.pxh.de/fs/gsmlib/"
12
13DEPEND=""
14 10
15IUSE="" 11IUSE=""
16SLOT="0" 12SLOT="0"
17LICENSE="LGPL-2" 13LICENSE="LGPL-2"
18KEYWORDS="~amd64 ppc sparc x86" 14KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86"
19 15
20RESTRICT="test" 16RESTRICT="test"
21 17
22S=${WORKDIR}/${PN}-${PV%_pre*} 18S="${WORKDIR}/${PN}-${PV%_pre*}"
23 19
24src_unpack() { 20src_unpack() {
25 unpack ${A} 21 unpack ${A}
26 cd ${S}
27 22
28 # Fix gsm_map_key.h for gsm_map_key.h
29 epatch ${FILESDIR}/gsmlib-1.11-include-gcc34-fix.patch 23 epatch "${FILESDIR}/${P%_pre*}-include-gcc34-fix.patch"
30 24 epatch "${FILESDIR}/${P%_pre*}-gcc41.patch"
31} 25 epatch "${FILESDIR}"/${P%_pre*}-gcc43.patch
32
33src_compile() {
34 econf
35 emake || die
36} 26}
37 27
38src_install () { 28src_install () {
39 make DESTDIR=${D} install || die 29 emake DESTDIR="${D}" install || die "make install failed"
40 dodoc AUTHORS NEWS README 30 dodoc README
41} 31}
42

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20