updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / linknx / PKGBUILD
blob15c019fde39ddfe70e9133aa00ab5224094b7d58
1 # Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
2 # Contributor: William Diaz <wdiaz@archlinux.us>
4 pkgname=linknx
5 pkgver=0.0.1.27
6 pkgrel=1
7 pkgdesc="linknx eib controller"
8 arch=('i686' 'x86_64')
9 url="http://www.auto.tuwien.ac.at/~mkoegler/index.php/bcusdk"
10 license=('LGPL')
11 depends=('eibd' 'log4cpp' 'libesmtp')
12 options=('!libtool')
13 source=(http://downloads.sourceforge.net/project/linknx/linknx/linknx-${pkgver}/linknx-${pkgver}.tar.gz fix_mysql.patch)
15 build() {
16   cd "${srcdir}/${pkgname}-${pkgver}"
18   patch -Np1 -i ../fix_mysql.patch
20   ./configure \
21     --prefix=/usr \
22     --with-mysql=/usr \
23     --enable-smtp \
24     --with-libcurl
26   make || return 1
27   make DESTDIR="${pkgdir}" install || return 1
30 md5sums=('00d473efe99e117ff832f39d1eae7abc'
31          '9e2f415c0b844325bf0cc44e222c8ef6')
32 md5sums=('00d473efe99e117ff832f39d1eae7abc'
33          'd8367dfae7761773802a0f692027b5ff')