mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added community/garmindev
This commit is contained in:
parent
ce52b60b63
commit
abdf08498e
4 changed files with 69 additions and 0 deletions
1
community/garmindev/51-garmin.rules
Normal file
1
community/garmindev/51-garmin.rules
Normal file
|
@ -0,0 +1 @@
|
|||
ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", GROUP="uucp", MODE="660"
|
44
community/garmindev/PKGBUILD
Normal file
44
community/garmindev/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# $Id$
|
||||
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
# Contributor: Matthias Maennich <arch@maennich.net>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - build with -fsigned-char
|
||||
|
||||
pkgname=garmindev
|
||||
pkgver=0.3.4
|
||||
pkgrel=9
|
||||
pkgdesc="Garmin Device Drivers for QlandkarteGT"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.qlandkarte.org/"
|
||||
license=('GPL')
|
||||
depends=('libusb-compat')
|
||||
makedepends=('cmake')
|
||||
changelog=$pkgname.changelog
|
||||
install=$pkgname.install
|
||||
source=(http://downloads.sourceforge.net/qlandkartegt/$pkgname-$pkgver.tar.gz \
|
||||
51-garmin.rules)
|
||||
sha256sums=('86c38f65ba1a05c5d5eb076107094cb789db6ffc5d80bfd7bb209d645bcf87d5'
|
||||
'0196ae234c0daf97afb9f4af6fdc04c2af77bb742233731870ba8cfc6ae5a7d7')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
|
||||
install -d ${srcdir}/$pkgname-$pkgver/build
|
||||
cd ${srcdir}/$pkgname-$pkgver/build
|
||||
|
||||
CXXFLAGS+=" -fsigned-char"
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
cd ${srcdir}/$pkgname-$pkgver/build
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
#ChangeLog and example udev rule
|
||||
install -D -m644 ../changelog.txt ${pkgdir}/usr/share/$pkgname/CHANGELOG
|
||||
install -D -m644 ${srcdir}/51-garmin.rules ${pkgdir}/usr/share/$pkgname/51-garmin.rules
|
||||
}
|
14
community/garmindev/garmindev.changelog
Normal file
14
community/garmindev/garmindev.changelog
Normal file
|
@ -0,0 +1,14 @@
|
|||
2013-12-25 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
* garmindev 0.3.4-7 static libraries removed
|
||||
|
||||
"013-09-29 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
* garmindev 0.3.4-6 install file update FS#36141
|
||||
|
||||
2011-11-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
* garmindev 0.3.4-5
|
||||
* udev rule updated for Linux 3.1.1
|
||||
|
||||
2011-02-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
* garmindev 0.3.4-3
|
||||
* moved to [community] with 33 AUR votes
|
||||
* see /usr/share/garmindev/CHANGELOG for feature changes
|
10
community/garmindev/garmindev.install
Normal file
10
community/garmindev/garmindev.install
Normal file
|
@ -0,0 +1,10 @@
|
|||
post_install() {
|
||||
cat << EOF
|
||||
Note:
|
||||
==> In case you experience access permission error for the attached Garmin GPS device,
|
||||
==> see http://wiki.openstreetmap.org/wiki/USB_Garmin_on_GNU/Linux for more details.
|
||||
==> Disable garmin_gps module and see included example udev rule:
|
||||
==> echo "blacklist garmin_gps" > /etc/modprobe.d/garmindev.conf
|
||||
==> cd /etc/udev/rules.d ; ln -s /usr/share/garmindev/51-garmin.rules 51-garmin.rules
|
||||
EOF
|
||||
}
|
Loading…
Reference in a new issue