summaryrefslogtreecommitdiffstats
path: root/pilot-link/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /pilot-link/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'pilot-link/Pkgfile')
-rw-r--r--pilot-link/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/pilot-link/Pkgfile b/pilot-link/Pkgfile
new file mode 100644
index 000000000..f8698b43a
--- /dev/null
+++ b/pilot-link/Pkgfile
@@ -0,0 +1,31 @@
+# Description: outils internet
+# URL: http://www.pilot-link.org/
+# Maintainer: NutyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libusb, libpng, popt
+# Run on: libusb,libpng,popt
+
+name=pilot-link
+version=0.12.5
+release=1
+source=(http://downloads.pilot-link.org/$name-$version.tar.bz2\
+ http://nutyx.meticul.eu/files/patchs/$name/pilot-link-png14.patch)
+
+build () {
+cd $name-$version
+patch -Np1 -i ../pilot-link-png14.patch
+./configure --prefix=/usr \
+ --enable-conduits \
+ --enable-libusb \
+ --with-libiconv \
+ --with-libpng
+make
+make DESTDIR=$PKG install
+# Put udev rules at the right place
+mkdir -p $PKG/etc/udev/rules.d
+mv $PKG/usr/share/pilot-link/udev/60-libpisock.rules \
+ $PKG/etc/udev/rules.d
+rm -rf $PKG/usr/share/pilot-link/udev
+
+}
+