summaryrefslogtreecommitdiffstats
path: root/test/gpsbabel
diff options
context:
space:
mode:
authorfanch <fanchyannmaria at orange dot fr>2010-06-25 23:21:12 +0200
committerfanch <fanchyannmaria at orange dot fr>2010-06-25 23:21:12 +0200
commit310f8b7fafebd328cfeb3bc6ac5454786010c866 (patch)
tree88b4c1935bb18fded6f7ea869e2028cc0c771657 /test/gpsbabel
parent7b6fa09248f85ebe415e84e54d30b8145442a3d3 (diff)
parent2e119531564ecac7a8196d9384fc46f3e856f6ba (diff)
downloadnutyx-extra-310f8b7fafebd328cfeb3bc6ac5454786010c866.tar.gz
nutyx-extra-310f8b7fafebd328cfeb3bc6ac5454786010c866.tar.bz2
nutyx-extra-310f8b7fafebd328cfeb3bc6ac5454786010c866.tar.xz
nutyx-extra-310f8b7fafebd328cfeb3bc6ac5454786010c866.zip
Merge remote branch 'nutyx-attapu/master'
Diffstat (limited to 'test/gpsbabel')
-rw-r--r--test/gpsbabel/.footprint12
-rw-r--r--test/gpsbabel/.md5sum2
-rw-r--r--test/gpsbabel/Pkgfile28
-rw-r--r--test/gpsbabel/exeext.patch11
-rw-r--r--test/gpsbabel/struct.patch11
5 files changed, 64 insertions, 0 deletions
diff --git a/test/gpsbabel/.footprint b/test/gpsbabel/.footprint
new file mode 100644
index 000000000..e18e60122
--- /dev/null
+++ b/test/gpsbabel/.footprint
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/gpsbabel
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/gpsbabel/
+-rw-r--r-- root/root usr/include/gpsbabel/cet.h
+-rw-r--r-- root/root usr/include/gpsbabel/cet_util.h
+-rw-r--r-- root/root usr/include/gpsbabel/defs.h
+-rw-r--r-- root/root usr/include/gpsbabel/filterdefs.h
+-rw-r--r-- root/root usr/include/gpsbabel/garmin_tables.h
+-rw-r--r-- root/root usr/include/gpsbabel/gbtypes.h
+-rw-r--r-- root/root usr/include/gpsbabel/queue.h
diff --git a/test/gpsbabel/.md5sum b/test/gpsbabel/.md5sum
new file mode 100644
index 000000000..cd56392bd
--- /dev/null
+++ b/test/gpsbabel/.md5sum
@@ -0,0 +1,2 @@
+c1fa9755523f6ffdf55cb2d573ea5b09 exeext.patch
+1571b31f8f06f722995449dbff01ca49 plan9.php?dl=gpsbabel-1.3.6.tar.gz
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
+}
diff --git a/test/gpsbabel/exeext.patch b/test/gpsbabel/exeext.patch
new file mode 100644
index 000000000..fbc808ab8
--- /dev/null
+++ b/test/gpsbabel/exeext.patch
@@ -0,0 +1,11 @@
+--- configure.in 2009-02-07 18:18:10.000000000 -0800
++++ configure.in 2009-02-07 18:18:10.000000000 -0800
+@@ -36,7 +36,7 @@
+ AC_PROG_INSTALL
+ AC_PROG_MAKE_SET
+ AC_EXEEXT
+-AC_SUBST(AC_EXEEXT)
++#AC_SUBST(AC_EXEEXT)
+ AC_C_BIGENDIAN
+
+ # Checks for libraries.
diff --git a/test/gpsbabel/struct.patch b/test/gpsbabel/struct.patch
new file mode 100644
index 000000000..41d6695a5
--- /dev/null
+++ b/test/gpsbabel/struct.patch
@@ -0,0 +1,11 @@
+--- gpsbabel-1.2.8-beta20060219/defs.h 2006-01-24 07:30:53.000000000 -0800
++++ gpsbabel-1.2.8-beta20060219-new/defs.h 2006-03-17 21:31:18.000000000 -0800
+@@ -407,7 +407,7 @@
+ * All shortname functions take a shortname handle as the first arg.
+ * This is an opaque pointer. Callers must not fondle the contents of it.
+ */
+-typedef struct short_handle * short_handle;
++typedef struct short_handle_ * short_handle;
+ #ifndef DEBUG_MEM
+ char *mkshort (short_handle, const char *);
+ void *mkshort_new_handle(void);