blob: 88354ec36400c53a6434004255ad6ad639586b05 (
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
38
39
40
41
42
43
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/proj/proj-4.4.7-r1.ebuild,v 1.3 2004/02/22 20:10:05 agriffis Exp $
S=${WORKDIR}/${P}
N=${S}/nad
DESCRIPTION="Proj.4 cartographic projection software with extra NAD27 grids"
HOMEPAGE="http://proj.maptools.org/"
SRC_URI="http://proj.maptools.org/dl/${P}.tar.gz
http://proj.maptools.org/dl/proj-nad27-1.1.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa"
DEPEND="virtual/glibc"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/proj-4.4.7-gentoo.patch || die
cd ${N}
mv README README.NAD
TMPDIR=${T} tar xvzf ${DISTDIR}/proj-nad27-1.1.tar.gz || die
}
src_compile() {
econf || die
emake || die
}
src_install() {
einstall || die
insinto /usr/share/proj
insopts -m 755
doins nad/test27
doins nad/test83
insopts -m 644
doins nad/pj_out27.dist
doins nad/pj_out83.dist
dodoc COPYING README NEWS AUTHORS INSTALL ChangeLog ${N}/README.NAD ${N}/README.NADUS
}
|