/[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.2 - (show annotations) (download)
Fri May 4 07:14:06 2012 UTC (23 months, 1 week ago) by jdhore
Branch: MAIN
Changes since 1.1: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 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.1 2011/12/27 07:51:06 bicatali Exp $
4
5 EAPI=4
6 inherit toolchain-funcs
7
8 DESCRIPTION="Global Self-consistent, Hierarchical, High-resolution Shoreline programs"
9 HOMEPAGE="http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html"
10 SRC_URI="ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.13_src.zip"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="+data"
16
17 RDEPEND="sci-libs/netcdf
18 sci-libs/gdal
19 data? ( sci-geosciences/gshhs-data )"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig
22 app-arch/unzip"
23
24 S="${WORKDIR}/${PN}"
25
26 src_compile() {
27 local p
28 for p in gshhs gshhs_dp gshhstograss; do
29 $(tc-getCC) ${CFLAGS} $(pkg-config --cflags netcdf) \
30 ${LDFLAGS} ${p}.c \
31 $(pkg-config --libs netcdf) -lgdal -lm -o ${p} \
32 || die
33 done
34 }
35
36 src_install() {
37 dobin gshhs gshhs_dp gshhstograss
38 insinto /usr/include
39 doins gshhs.h
40 dodoc README.gshhs
41 }

  ViewVC Help
Powered by ViewVC 1.1.20