core/libftdi/PKGBUILD

23 lines
646 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
# $Id: PKGBUILD 58892 2009-11-16 22:42:10Z andrea $
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libftdi
pkgver=0.16
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")
depends=("libusb")
source=("http://www.intra2net.com/en/developer/libftdi/download/$pkgname-$pkgver.tar.gz")
md5sums=('524af6f39aefa1a4e8fac12c6be0ed06')
options=('!libtool')
build() {
cd $srcdir/$pkgname-$pkgver
sed -i '/no-install/d' examples/Makefile.in || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install
}