summaryrefslogtreecommitdiffstats
path: root/abs/extra/libftdi/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:55:32 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:55:32 (GMT)
commitfa28cb4fb4d3ce7ad50dd3edb3522af5d547952c (patch)
tree7d587e1a3cdb578c78d3fe656c96380b68675682 /abs/extra/libftdi/PKGBUILD
parente68f87191d2765c3686883b4763ba811e6826ec8 (diff)
downloadlinhes_pkgbuild-fa28cb4fb4d3ce7ad50dd3edb3522af5d547952c.zip
linhes_pkgbuild-fa28cb4fb4d3ce7ad50dd3edb3522af5d547952c.tar.gz
linhes_pkgbuild-fa28cb4fb4d3ce7ad50dd3edb3522af5d547952c.tar.bz2
libftdi .20
Diffstat (limited to 'abs/extra/libftdi/PKGBUILD')
-rw-r--r--abs/extra/libftdi/PKGBUILD35
1 files changed, 22 insertions, 13 deletions
diff --git a/abs/extra/libftdi/PKGBUILD b/abs/extra/libftdi/PKGBUILD
index b5a72da..61165b2 100644
--- a/abs/extra/libftdi/PKGBUILD
+++ b/abs/extra/libftdi/PKGBUILD
@@ -1,19 +1,28 @@
-# Contributor: Bernhard Walle <bernhard.walle@gmx.de>
+# $Id: PKGBUILD 153977 2012-03-21 07:09:24Z eric $
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
pkgname=libftdi
-pkgver=0.18
+pkgver=0.20
pkgrel=1
-pkgdesc="Library to program and control the FTDI USB controller"
-url="http://www.intra2net.com/de/produkte/opensource/ftdi/"
-license="GPL"
-depends=(libusb)
-arch=(i686 x86_64)
-source=(http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/$pkgname-$pkgver.tar.gz)
+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')
+options=('!libtool')
+source=(http://www.intra2net.com/en/developer/libftdi/download/$pkgname-$pkgver.tar.gz{,.sig})
+sha1sums=('4bc6ce70c98a170ada303fbd00b8428d8a2c1aa2'
+ '807d145147c9bee08b4cea4d7ca82ccaf1330f02')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i '/no-install/d' examples/Makefile.in
+ ./configure --prefix=/usr
make
- make DESTDIR=$startdir/pkg install
}
-# :mode=shellscript:
-md5sums=('916f65fa68d154621fc0cf1f405f2726')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}