aboutsummaryrefslogtreecommitdiffstats
path: root/main/skytraq-datalogger/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/skytraq-datalogger/APKBUILD')
-rw-r--r--main/skytraq-datalogger/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/main/skytraq-datalogger/APKBUILD b/main/skytraq-datalogger/APKBUILD
new file mode 100644
index 0000000000..a02563274c
--- /dev/null
+++ b/main/skytraq-datalogger/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Mika Havela <mika.havela@gmail.com>
+# Maintainer: Mika Havela <mika.havela@gmail.com>
+pkgname=skytraq-datalogger
+pkgver=0.5.1
+_pkgver=0.5-1
+pkgrel=0
+pkgdesc="Configuration and download tool for GPS data loggers based on Skytraq Venus 5 and 6 chipsets"
+url="http://code.google.com/p/skytraq-datalogger/"
+arch="all"
+license="GNU GPL v2"
+depends=""
+depends_dev="curl-dev"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://${pkgname}.googlecode.com/files/${pkgname}_${_pkgver}.tar.gz
+Makefile.patch
+agps-download.c.patch"
+
+_builddir="$srcdir/${pkgname}-${_pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="e691f9092f63c7100313a9881ff100d4 skytraq-datalogger_0.5-1.tar.gz
+5939083bf1ac066967f2489a21691ac5 Makefile.patch
+4111c54fd124ef7a1aad49c585cd46e4 agps-download.c.patch"