Commit ca76f20c authored by Neofytos Kolokotronis's avatar Neofytos Kolokotronis

libftdi: rebuilt against python3.5

parent 8c9b99aa
# $Id$
# Maintainer: Kyle Keen <keenerd@gmail.com>
# bug, python binding vanished with 3.4
# Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
pkgname=libftdi
pkgver=1.2
pkgrel=1
pkgrel=2
pkgdesc="A library to talk to FTDI chips, optional python bindings."
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.intra2net.com/en/developer/libftdi/download.php"
license=('GPL2' 'LGPL2.1')
depends=('libusb')
optdepends=('python3: library bindings')
makedepends=('boost' 'cmake' 'python3' 'swig')
# doxygen for docs, confuse for eeprom
source=(http://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig})
sha1sums=('636b9fcc745bf4eeb027a1dd891f770158444f7a'
'SKIP')
validpgpkeys=('3CEA9B8868BC3852618EB5B4707F91A424F006F5') # Intra2net open source
source=(http://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2)
sha1sums=('636b9fcc745bf4eeb027a1dd891f770158444f7a')
prepare() {
cd "${pkgname}1-$pkgver"
......@@ -37,15 +27,11 @@ build() {
make
}
# needs yet unknown dependencies
#check() {
# cd "$srcdir/${pkgname}1-$pkgver/build"
# make check
#}
package() {
cd "${pkgname}1-$pkgver/build"
make DESTDIR="$pkgdir" install
install -Dm644 "../packages/99-libftdi.rules" "$pkgdir/usr/lib/udev/rules.d/69-libftdi.rules"
# ArchLinux FS#45053
cp -r ../examples/* "$pkgdir/usr/share/libftdi/examples"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment