[trunk] -> [community] 'libftdi-1.5-1' add

master
Nathan Owens 2 years ago
parent 2bcfa6387a
commit 052c7c83f9
  1. 14
      trunk/PKGBUILD
  2. 14
      x86_64/community/PKGBUILD

@ -1,11 +1,8 @@
# 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.4
pkgrel=6
pkgver=1.5
pkgrel=1
pkgdesc="A library to talk to FTDI chips, optional python bindings."
arch=('x86_64')
url="https://www.intra2net.com/en/developer/libftdi/download.php"
@ -15,7 +12,7 @@ optdepends=('python: library bindings')
makedepends=('boost' 'cmake' 'python' 'swig')
# doxygen for docs, confuse for eeprom
source=(https://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig})
sha1sums=('5b14cebab8168e12dd6c2b5325a29ad93ed40f3d'
sha1sums=('0b4dc9763342d094d2b5e74ced7d10d574b4758d'
'SKIP')
validpgpkeys=('3CEA9B8868BC3852618EB5B4707F91A424F006F5') # Intra2net open source
@ -30,7 +27,8 @@ build() {
mkdir -p build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON \
-DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=ON
-DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=ON \
-DFTDIPP=ON -DPYTHON_BINDINGS=ON -DLINK_PYTHON_LIBRARY=ON
make
}
@ -42,8 +40,10 @@ build() {
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"
# FS#45053
install -d "$pkgdir/usr/share/libftdi/examples"
cp -r ../examples/* "$pkgdir/usr/share/libftdi/examples"
}

@ -1,11 +1,8 @@
# 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.4
pkgrel=6
pkgver=1.5
pkgrel=1
pkgdesc="A library to talk to FTDI chips, optional python bindings."
arch=('x86_64')
url="https://www.intra2net.com/en/developer/libftdi/download.php"
@ -15,7 +12,7 @@ optdepends=('python: library bindings')
makedepends=('boost' 'cmake' 'python' 'swig')
# doxygen for docs, confuse for eeprom
source=(https://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig})
sha1sums=('5b14cebab8168e12dd6c2b5325a29ad93ed40f3d'
sha1sums=('0b4dc9763342d094d2b5e74ced7d10d574b4758d'
'SKIP')
validpgpkeys=('3CEA9B8868BC3852618EB5B4707F91A424F006F5') # Intra2net open source
@ -30,7 +27,8 @@ build() {
mkdir -p build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON \
-DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=ON
-DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=ON \
-DFTDIPP=ON -DPYTHON_BINDINGS=ON -DLINK_PYTHON_LIBRARY=ON
make
}
@ -42,8 +40,10 @@ build() {
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"
# FS#45053
install -d "$pkgdir/usr/share/libftdi/examples"
cp -r ../examples/* "$pkgdir/usr/share/libftdi/examples"
}

Loading…
Cancel
Save