mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 22:07:15 +08:00
23 lines
646 B
Bash
23 lines
646 B
Bash
# $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
|
|
}
|