/[gentoo-x86]/sci-geosciences/gshhs/gshhs-1.13.ebuild
Gentoo

Contents of /sci-geosciences/gshhs/gshhs-1.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Nov 20 19:50:49 2013 UTC (6 years, 2 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +7 -6 lines
Keyword amd64-linux and x86-linux

(Portage version: 2.2.7-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gshhs/gshhs-1.13.ebuild,v 1.2 2012/05/04 07:14:06 jdhore Exp $
4
5 EAPI=5
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Global Self-consistent, Hierarchical, High-resolution Shoreline programs"
10 HOMEPAGE="http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html"
11 SRC_URI="ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.13_src.zip"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16 IUSE="+data"
17
18 RDEPEND="sci-libs/netcdf
19 sci-libs/gdal
20 data? ( sci-geosciences/gshhs-data )"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig
23 app-arch/unzip"
24
25 S="${WORKDIR}/${PN}"
26
27 src_compile() {
28 local p
29 for p in gshhs gshhs_dp gshhstograss; do
30 $(tc-getCC) ${CFLAGS} $($(tc-getPKG_CONFIG) --cflags netcdf) \
31 ${LDFLAGS} ${p}.c \
32 $($(tc-getPKG_CONFIG) --libs netcdf) -lgdal -lm -o ${p} \
33 || die
34 done
35 }
36
37 src_install() {
38 dobin gshhs gshhs_dp gshhstograss
39 insinto /usr/include
40 doins gshhs.h
41 dodoc README.gshhs
42 }

  ViewVC Help
Powered by ViewVC 1.1.20