updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / owfs / PKGBUILD
blobc76a2c2e4466677c775af4fa69805d2e5f2fb3b0
1 # Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
2 #              tzervo <tzervo@gmail.com>
3 pkgname="owfs"
4 pkgver=2.8p14
5 pkgrel=1
6 pkgdesc="An easy way to use the powerful 1-wire system of Dallas/Maxim."
7 arch=('any')
8 url="http://www.owfs.org"
9 license=('GPL')
10 groups=()
11 # Dependencies are not mandatory to build owserver, but:
12 # - fuse is needed for owfs
13 # - swig is needed for scripting languages bindings (perl, python...)
14 depends=('fuse' 'swig')
15 makedepends=()
16 provides=('owfs')
17 conflicts=('owfs')
18 replaces=()
19 backup=()
20 options=()
21 install=
22 source=(http://downloads.sourceforge.net/sourceforge/owfs/$pkgname-$pkgver.tar.gz)
23 noextract=()
24 md5sums=('cd213fd9bbfed95cca2c833c0f14dd72')
26 build() {
27   cd "$srcdir/$pkgname-$pkgver"
29   ./configure --prefix=/usr --with-python="/usr/bin/python2" --with-pythonconfig="/usr/bin/python2-config"
30   make || return 1
31   make DESTDIR="$pkgdir" install