summaryrefslogtreecommitdiffstats
path: root/abs/extra/libftdi/PKGBUILD
blob: 61165b2250236e0d1f94e0a823299a5e07afe039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 153977 2012-03-21 07:09:24Z eric $
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=libftdi
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')
options=('!libtool')
source=(http://www.intra2net.com/en/developer/libftdi/download/$pkgname-$pkgver.tar.gz{,.sig})
sha1sums=('4bc6ce70c98a170ada303fbd00b8428d8a2c1aa2'
          '807d145147c9bee08b4cea4d7ca82ccaf1330f02')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  sed -i '/no-install/d' examples/Makefile.in
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}