summaryrefslogtreecommitdiff
blob: d5f9a99d4232550a1e8bde96965be55408b9160e (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/shapelib/shapelib-1.2.10.ebuild,v 1.1 2003/06/19 19:00:09 rphillips Exp $

inherit base eutils

DESCRIPTION="ShapeLib"
HOMEPAGE="http://gdal.velocet.ca/projects/shapelib/"
SRC_URI="ftp://gdal.velocet.ca/pub/outgoing//${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="virtual/glibc"

src_compile() {
	pmake || die
	make lib || die
}

src_install() {
	into /usr
	exeinto /usr/bin
	doexe shpcreate
	doexe shpdump
	doexe shptest
	doexe shpadd
	doexe dbfcreate
	doexe dbfdump
	doexe dbfadd
	dolib.so .libs/libshp.so.1.0.1
	dosym libshp.so.1.0.1 usr/lib/libshp.so
	insinto /usr/include/libshp
	doins shapefil.h
}