updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / libmodbus / PKGBUILD
blob72d34d4e72ba8e129ac63a3b3d89df66cfe4097a
1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Your Name <youremail@domain.com>
7 pkgname=libmodbus
8 pkgver=3.0.1
9 pkgrel=1
10 pkgdesc="A Modbus library for Linux (and OSX) wrote in C and which supports RTU and TCP communications."
11 arch=('i686' 'x86_64')
12 url="https://launchpad.net/libmodbus"
13 license=('GPL')
14 groups=()
15 depends=()
16 makedepends=()
17 optdepends=()
18 provides=()
19 conflicts=()
20 replaces=()
21 backup=()
22 options=()
23 install=
24 source=(http://github.com/downloads/stephane/libmodbus/$pkgname-$pkgver.tar.gz)
25 noextract=()
26 md5sums=('7ad8afbd02a7a2afd70c5bb7271a593b')
28 build() {
29   cd "$srcdir/$pkgname-$pkgver"
30   #./autogen.sh
31   ./configure --prefix=/usr
32   make || return 1
33   make DESTDIR="$pkgdir/" install
34   rm $pkgdir/usr/lib/*.la
37 # vim:set ts=2 sw=2 et: