summaryrefslogtreecommitdiffstats
path: root/extra/gpsbabel/Pkgfile
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-10 14:43:57 +0100
committerlesibel <lesibel@free.fr>2009-11-10 14:43:57 +0100
commitd066b53fd127b21a7edb339b4b0e3c993932ce95 (patch)
tree47e24c1b810df9573fee86c2fb3e9f099414c6c4 /extra/gpsbabel/Pkgfile
parentdad5816b072c335fda889187e2dddb675adf67b9 (diff)
downloadnutyx-extra-d066b53fd127b21a7edb339b4b0e3c993932ce95.tar.gz
nutyx-extra-d066b53fd127b21a7edb339b4b0e3c993932ce95.tar.bz2
nutyx-extra-d066b53fd127b21a7edb339b4b0e3c993932ce95.tar.xz
nutyx-extra-d066b53fd127b21a7edb339b4b0e3c993932ce95.zip
Ajout de gpsbabel#1.3.6-1
Diffstat (limited to 'extra/gpsbabel/Pkgfile')
-rw-r--r--extra/gpsbabel/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/gpsbabel/Pkgfile b/extra/gpsbabel/Pkgfile
new file mode 100644
index 000000000..194f2d792
--- /dev/null
+++ b/extra/gpsbabel/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Reads, writes, and manipulates GPS waypoints in a variety of formats
+# URL: http://www.gpsbabel.org
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: libusb, expat
+
+name=gpsbabel
+version=1.3.6
+release=1
+source=(http://www.gpsbabel.org/plan9.php?dl=gpsbabel-$version.tar.gz \
+ exeext.patch)
+
+build() {
+ cd gpsbabel-$version
+ mkdir -p $PKG/usr/bin
+ ./configure --prefix=/usr
+ patch -Np0 -i ../exeext.patch
+ #sed -i 's|/usr/local|/usr|g' Makefile
+ #sed -i 's|$(INSTALL_TARGETDIR)/bin|$(DESTDIR)$(INSTALL_TARGETDIR)/bin|g' Makefile
+
+ make
+ make DESTDIR=$PKG install
+
+ # Header install
+ mkdir -p $PKG/usr/include/gpsbabel
+ cp {defs.h,queue.h,gbtypes.h,filterdefs.h,cet.h,cet_util.h,garmin_tables.h} \
+ $PKG/usr/include/gpsbabel
+}