Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/shapelib: shapelib-1.2.10-r1.ebuild shapelib-1.3.0.ebuild ChangeLog
Date: Thu, 02 Aug 2012 19:02:07
Message-Id: 20120802190146.AE1982004B@flycatcher.gentoo.org
1 bicatali 12/08/02 19:01:46
2
3 Modified: shapelib-1.2.10-r1.ebuild ChangeLog
4 Added: shapelib-1.3.0.ebuild
5 Log:
6 Version bump. Keyword amd64-linux x86-linux
7
8 (Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 sci-libs/shapelib/shapelib-1.2.10-r1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/shapelib/shapelib-1.2.10-r1.ebuild?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/shapelib/shapelib-1.2.10-r1.ebuild?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/shapelib/shapelib-1.2.10-r1.ebuild?r1=1.7&r2=1.8
16
17 Index: shapelib-1.2.10-r1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/shapelib/shapelib-1.2.10-r1.ebuild,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- shapelib-1.2.10-r1.ebuild 14 Feb 2012 21:37:49 -0000 1.7
24 +++ shapelib-1.2.10-r1.ebuild 2 Aug 2012 19:01:46 -0000 1.8
25 @@ -1,9 +1,9 @@
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/shapelib-1.2.10-r1.ebuild,v 1.7 2012/02/14 21:37:49 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/shapelib-1.2.10-r1.ebuild,v 1.8 2012/08/02 19:01:46 bicatali Exp $
30
31 EAPI=4
32 -inherit eutils
33 +inherit eutils toolchain-funcs multilib
34
35 DESCRIPTION="Library for manipulating ESRI Shapefiles"
36 HOMEPAGE="http://shapelib.maptools.org/"
37 @@ -11,7 +11,7 @@
38
39 LICENSE="GPL-2 LGPL-2"
40 SLOT="0"
41 -KEYWORDS="amd64 ~ppc x86"
42 +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
43 IUSE="static-libs"
44
45 DEPEND=""
46 @@ -22,12 +22,12 @@
47 epatch "${FILESDIR}"/fix-shapelib-test.diff
48 epatch "${FILESDIR}"/stdlib_include_fix.patch
49 sed -i \
50 - -e 's:/usr/local/:${DESTDIR}/usr/:g' \
51 - -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
52 - -e 's:SHPLIB_VERSION=1.2.9:SHPLIB_VERSION=1.2.10:g' \
53 + -e "s:/usr/local/:\$(DESTDIR)/${EPREFIX}/usr/:g" \
54 + -e "s:/usr/lib:/usr/$(get_libdir):g" \
55 + -e "s:SHPLIB_VERSION=1.2.9:SHPLIB_VERSION=${PV}:g" \
56 -e "s:-g:${CFLAGS}:" \
57 -e "s:-g -O2:${CFLAGS}:g" \
58 - -e "s:link gcc :link gcc ${LDFLAGS}:" \
59 + -e "s:link gcc :link $(tc-getCC) ${LDFLAGS}:" \
60 Makefile || die "sed failed"
61 }
62
63
64
65
66 1.15 sci-libs/shapelib/ChangeLog
67
68 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/shapelib/ChangeLog?rev=1.15&view=markup
69 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/shapelib/ChangeLog?rev=1.15&content-type=text/plain
70 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/shapelib/ChangeLog?r1=1.14&r2=1.15
71
72 Index: ChangeLog
73 ===================================================================
74 RCS file: /var/cvsroot/gentoo-x86/sci-libs/shapelib/ChangeLog,v
75 retrieving revision 1.14
76 retrieving revision 1.15
77 diff -u -r1.14 -r1.15
78 --- ChangeLog 14 Feb 2012 21:37:49 -0000 1.14
79 +++ ChangeLog 2 Aug 2012 19:01:46 -0000 1.15
80 @@ -1,6 +1,12 @@
81 # ChangeLog for sci-libs/shapelib
82 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
83 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/ChangeLog,v 1.14 2012/02/14 21:37:49 ulm Exp $
84 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/ChangeLog,v 1.15 2012/08/02 19:01:46 bicatali Exp $
85 +
86 +*shapelib-1.3.0 (02 Aug 2012)
87 +
88 + 02 Aug 2012; Sébastien Fabbro <bicatali@g.o> +shapelib-1.3.0.ebuild,
89 + shapelib-1.2.10-r1.ebuild:
90 + Version bump. Keyword amd64-linux x86-linux
91
92 14 Feb 2012; Ulrich Müller <ulm@g.o> shapelib-1.2.10-r1.ebuild:
93 QA: Fix ebuild header, bug 398773.
94
95
96
97 1.1 sci-libs/shapelib/shapelib-1.3.0.ebuild
98
99 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/shapelib/shapelib-1.3.0.ebuild?rev=1.1&view=markup
100 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/shapelib/shapelib-1.3.0.ebuild?rev=1.1&content-type=text/plain
101
102 Index: shapelib-1.3.0.ebuild
103 ===================================================================
104 # Copyright 1999-2012 Gentoo Foundation
105 # Distributed under the terms of the GNU General Public License v2
106 # $Header: /var/cvsroot/gentoo-x86/sci-libs/shapelib/shapelib-1.3.0.ebuild,v 1.1 2012/08/02 19:01:46 bicatali Exp $
107
108 EAPI=4
109 inherit eutils toolchain-funcs multilib
110
111 DESCRIPTION="Library for manipulating ESRI Shapefiles"
112 HOMEPAGE="http://shapelib.maptools.org/"
113 SRC_URI="http://download.osgeo.org/${PN}/${P}.tar.gz"
114
115 LICENSE="GPL-2 LGPL-2"
116 SLOT="0"
117 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
118 IUSE="static-libs"
119
120 DEPEND=""
121 RDEPEND=""
122
123 src_prepare() {
124 sed -i \
125 -e "s:/usr/local:\$(DESTDIR)/${EPREFIX}/usr:g" \
126 -e "s:/usr/lib:/usr/$(get_libdir):g" \
127 -e "s:SHPLIB_VERSION=1.2.9:SHPLIB_VERSION=${PV}:g" \
128 -e "s:-g:${CFLAGS}:" \
129 -e "s:-g -O2:${CFLAGS}:g" \
130 -e 's:$(LINKOPT):$(LDFLAGS):' \
131 -e "s:link gcc :link $(tc-getCC) ${LDFLAGS}:" \
132 Makefile || die "sed failed"
133 }
134
135 src_compile() {
136 emake all
137 emake lib
138 }
139
140 src_install() {
141 dobin shp{create,dump,test,add} dbf{create,dump,add}
142 emake DESTDIR="${D}" lib_install
143 dodoc ChangeLog README*
144 use static-libs || rm -f "${ED}"/usr/$(get_libdir)/lib*.a
145 }