PKGBUILDs/aur/owfs/PKGBUILD
Kevin Mihelich 00452949e1 aur updates
2013-02-02 00:03:21 +00:00

32 lines
902 B
Bash

# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
# tzervo <tzervo@gmail.com>
pkgname="owfs"
pkgver=2.8p21
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=('372361dc6316fcadc80029626f6c3d7f')
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
}