PKGBUILDs/extra/libftdi/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
650 B
Bash

# $Id: PKGBUILD 42579 2009-06-15 20:22:38Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libftdi
pkgver=0.15
pkgrel=3
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")
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=$startdir/pkg install
}
md5sums=('d585c9758cb7085a4448c7c4ece07d8e')