PKGBUILDs/aur/owfs/PKGBUILD
2011-06-09 17:51:42 -04:00

37 lines
911 B
Bash
Executable file

# Maintainer: tzervo <tzervo@gmail.com>
# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
plugrel=1
pkgname=owfs
pkgver=2.8p8
pkgrel=1
pkgdesc="An easy way to use the powerful 1-wire system of Dallas/Maxim."
arch=('any')
url="http://www.owfs.org"
license=('GPL')
groups=()
# Dependencies are not mandatory to build owserver, but:
# - fuse is needed for owfs
# - swig is needed for scripting languages bindings (perl, python...)
depends=('fuse' 'swig')
makedepends=()
provides=('owfs')
conflicts=('owfs')
replaces=()
backup=()
options=()
install=
source=(http://downloads.sourceforge.net/sourceforge/owfs/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('56afd8857bf3ae51fadd7fce0c354b58')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --with-python="/usr/bin/python2" --with-pythonconfig="/usr/bin/python2-config"
make || return 1
make DESTDIR="$pkgdir" install
}