From fa28cb4fb4d3ce7ad50dd3edb3522af5d547952c Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 7 Aug 2012 14:55:32 -0500 Subject: libftdi .20 --- abs/extra/libftdi/PKGBUILD | 35 ++++++++++++++++++++++------------- 1 file 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 +# $Id: PKGBUILD 153977 2012-03-21 07:09:24Z eric $ +# Contributor: Tobias Powalowski + 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 +} -- cgit v0.12