summaryrefslogtreecommitdiff
path: root/extra/libftdi-compat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libftdi-compat/PKGBUILD')
-rw-r--r--extra/libftdi-compat/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libftdi-compat/PKGBUILD b/extra/libftdi-compat/PKGBUILD
new file mode 100644
index 000000000..9be6032cf
--- /dev/null
+++ b/extra/libftdi-compat/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 200728 2013-12-03 16:50:08Z eric $
+# Maintainer:
+
+pkgname=libftdi-compat
+pkgver=0.20
+pkgrel=1
+pkgdesc="A library to talk to FTDI chips"
+arch=('i686' 'x86_64')
+url="http://www.intra2net.com/en/developer/libftdi/download.php"
+license=('GPL2' 'LGPL2.1')
+depends=('libusb-compat' 'gcc-libs')
+makedepends=('boost')
+source=(http://www.intra2net.com/en/developer/libftdi/download/libftdi-$pkgver.tar.gz{,.sig})
+sha1sums=('4bc6ce70c98a170ada303fbd00b8428d8a2c1aa2'
+ '807d145147c9bee08b4cea4d7ca82ccaf1330f02')
+
+build() {
+ cd libftdi-$pkgver
+ ./configure --prefix=/usr --without-examples
+ make
+}
+
+package() {
+ cd libftdi-$pkgver
+ make DESTDIR="$pkgdir" install
+}