summaryrefslogtreecommitdiff
path: root/extra/libftdi/PKGBUILD
blob: d4a8f3cbaf6a89e31f35198f8aff79b45ce03913 (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 125350 2011-05-26 02:17:50Z eric $
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=libftdi
pkgver=0.19
pkgrel=1
pkgdesc="A library to talk to FTDI chips"
arch=('i686' 'x86_64' 'mips64el')
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")
md5sums=('e6e25f33b4327b1b7aa1156947da45f3')
sha1sums=('0f08caf8e754ace69cd682489fae3f7f09920fe1')

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
}