updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / libmodbus3 / PKGBUILD
blobecc482269d24d8c3795c39e51ab71ad7c73f7675
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=libmodbus3
8 pkgver=3.0.1
9 pkgrel=2
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://libmodbus.org"
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=(https://github.com/downloads/stephane/libmodbus/libmodbus-$pkgver.tar.gz)
25 noextract=()
26 md5sums=('7ad8afbd02a7a2afd70c5bb7271a593b')
28 build() {
29   cd "$srcdir/libmodbus-$pkgver"
30   ./configure --prefix=/usr
31    make || return 1
32    make DESTDIR="$pkgdir/" install
33    rm $pkgdir/usr/lib/*.la
36 # vim:set ts=2 sw=2 et: