diff options
author | lesibel <lesibel@free.fr> | 2009-11-10 14:43:57 +0100 |
---|---|---|
committer | lesibel <lesibel@free.fr> | 2009-11-10 14:43:57 +0100 |
commit | d066b53fd127b21a7edb339b4b0e3c993932ce95 (patch) | |
tree | 47e24c1b810df9573fee86c2fb3e9f099414c6c4 /extra/gpsbabel | |
parent | dad5816b072c335fda889187e2dddb675adf67b9 (diff) | |
download | nutyx-pakxe-d066b53fd127b21a7edb339b4b0e3c993932ce95.tar.gz nutyx-pakxe-d066b53fd127b21a7edb339b4b0e3c993932ce95.tar.bz2 nutyx-pakxe-d066b53fd127b21a7edb339b4b0e3c993932ce95.tar.xz nutyx-pakxe-d066b53fd127b21a7edb339b4b0e3c993932ce95.zip |
Ajout de gpsbabel#1.3.6-1
Diffstat (limited to 'extra/gpsbabel')
-rw-r--r-- | extra/gpsbabel/.footprint | 12 | ||||
-rw-r--r-- | extra/gpsbabel/.md5sum | 2 | ||||
-rw-r--r-- | extra/gpsbabel/Pkgfile | 28 | ||||
-rw-r--r-- | extra/gpsbabel/exeext.patch | 11 | ||||
-rw-r--r-- | extra/gpsbabel/struct.patch | 11 |
5 files changed, 64 insertions, 0 deletions
diff --git a/extra/gpsbabel/.footprint b/extra/gpsbabel/.footprint new file mode 100644 index 000000000..e18e60122 --- /dev/null +++ b/extra/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/extra/gpsbabel/.md5sum b/extra/gpsbabel/.md5sum new file mode 100644 index 000000000..cd56392bd --- /dev/null +++ b/extra/gpsbabel/.md5sum @@ -0,0 +1,2 @@ +c1fa9755523f6ffdf55cb2d573ea5b09 exeext.patch +1571b31f8f06f722995449dbff01ca49 plan9.php?dl=gpsbabel-1.3.6.tar.gz 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 +} diff --git a/extra/gpsbabel/exeext.patch b/extra/gpsbabel/exeext.patch new file mode 100644 index 000000000..fbc808ab8 --- /dev/null +++ b/extra/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/extra/gpsbabel/struct.patch b/extra/gpsbabel/struct.patch new file mode 100644 index 000000000..41d6695a5 --- /dev/null +++ b/extra/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); |