diff options
Diffstat (limited to 'extra/libftdi/PKGBUILD')
-rw-r--r-- | extra/libftdi/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/libftdi/PKGBUILD b/extra/libftdi/PKGBUILD new file mode 100644 index 000000000..8d89b2f88 --- /dev/null +++ b/extra/libftdi/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 101400 2010-11-29 04:43:52Z allan $ +# Contributor: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=libftdi +pkgver=0.18 +pkgrel=2 +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') +makedepends=("boost") +options=('!libtool') +source=("http://www.intra2net.com/en/developer/libftdi/download/$pkgname-$pkgver.tar.gz") +md5sums=('916f65fa68d154621fc0cf1f405f2726') +sha1sums=('52401db0e7cb90a5d83f82c2859a4f8d44e52579') + +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 +} |