summaryrefslogtreecommitdiff
path: root/community/gpsmanshp
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gpsmanshp
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gpsmanshp')
-rw-r--r--community/gpsmanshp/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/gpsmanshp/PKGBUILD b/community/gpsmanshp/PKGBUILD
new file mode 100644
index 000000000..36e723e7e
--- /dev/null
+++ b/community/gpsmanshp/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 21514 2010-07-16 14:22:13Z tdziedzic $
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+
+pkgname=gpsmanshp
+pkgver=1.2
+pkgrel=4
+pkgdesc='A Tcl package to read and write shapefiles'
+arch=('i686' 'x86_64')
+url='http://www.ncc.up.pt/gpsmanshp'
+license=('GPL')
+depends=('bash' 'tcl' 'shapelib')
+source=("http://www.ncc.up.pt/${pkgname}/${pkgname}_${pkgver}.tgz")
+md5sums=('b32e16afe3e306cf991ea38713fd0c9e')
+
+build() {
+ cd ${pkgname}_${pkgver}
+
+ mv Makefile8.4.4 Makefile
+
+ mkdir -p ${pkgdir}/usr/lib/
+
+ # set install path
+ sed -i -e "s|/usr/lib/tcl\$(TCLVERSION)|${pkgdir}/usr/lib/gpsmanshp|g" Makefile
+ sed -i -e "s|tclsh\$(TCLVERSION)|tclsh|g" Makefile
+ sed -i "s|package-8.3.tcl|/usr/lib/tcl8.5/package.tcl|g" Makefile
+ sed -i "s|8.4|8.5|g" Makefile
+
+ make
+}
+
+package() {
+ cd ${pkgname}_${pkgver}
+
+ make install
+}