summaryrefslogtreecommitdiffstats
path: root/test/gpsbabel/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-06-24 18:15:18 +0200
committersibel <lesibel at free dot fr>2010-06-24 18:15:18 +0200
commita0409a01404a1efe5ade4c06384131e7c8a87777 (patch)
treee93a7c3fdfab85b28c2c4265a41cef8af5506cab /test/gpsbabel/Pkgfile
parent439ed425551bca75c27081d47296bbe7f7e20028 (diff)
downloadnutyx-pakxe-a0409a01404a1efe5ade4c06384131e7c8a87777.tar.gz
nutyx-pakxe-a0409a01404a1efe5ade4c06384131e7c8a87777.tar.bz2
nutyx-pakxe-a0409a01404a1efe5ade4c06384131e7c8a87777.tar.xz
nutyx-pakxe-a0409a01404a1efe5ade4c06384131e7c8a87777.zip
gpsbabel, déplacé dans test
Diffstat (limited to 'test/gpsbabel/Pkgfile')
-rw-r--r--test/gpsbabel/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/gpsbabel/Pkgfile b/test/gpsbabel/Pkgfile
new file mode 100644
index 000000000..194f2d792
--- /dev/null
+++ b/test/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
+}