PKGBUILDs/aur/owfs/PKGBUILD
2012-03-12 17:05:59 -04:00

36 lines
913 B
Bash
Executable file

# Maintainer: tzervo <tzervo@gmail.com>
# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
plugrel=1
pkgname="owfs"
pkgver=2.8p14
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=('cd213fd9bbfed95cca2c833c0f14dd72')
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
}