1 # Contributor: Andre Klitzing <aklitzing () online () de>
5 pkgdesc="Exchange data with Siemens PLCs"
7 url="http://sourceforge.net/projects/libnodave"
9 source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.zip amd64_fpic.patch)
10 md5sums=('d3f960408bbfc811e107b61d387f8bba'
11 'eab02468487aef078bfda2e60a15cb60')
16 if [ "${CARCH}" = "x86_64" ]; then
17 patch -Np0 -i amd64_fpic.patch || return 1
20 make libnodave.so || return 1
21 install -D -m 644 libnodave.so $pkgdir/usr/lib/libnodave.so || return 1
22 install -D -m 644 nodave.h $pkgdir/usr/include/nodave.h || return 1
25 # vim:set ts=2 sw=2 et: