PKGBUILDs/aur/owfs/PKGBUILD

33 lines
943 B
Bash
Raw Normal View History

2011-03-28 01:53:51 +00:00
# Maintainer: tzervo <tzervo@gmail.com>
# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
plugrel=2
2011-03-28 01:53:51 +00:00
pkgname=owfs
pkgver=2.8p7
pkgrel=1.${plugrel}
pkgdesc="An easy way to use the powerful 1-wire system of Dallas/Maxim, includes temploggerd."
2011-03-28 01:53:51 +00:00
arch=('any')
url="http://www.owfs.org"
license=('GPL')
depends=('fuse' 'swig' 'rrdtool')
2011-03-28 01:53:51 +00:00
provides=('owfs')
source=(http://downloads.sourceforge.net/sourceforge/owfs/$pkgname-$pkgver.tar.gz
http://downloads.sourceforge.net/sourceforge/owfs/temploggerd-1.3.8.tar.gz)
md5sums=('58dcd6b03de9e58cc282a63f57fcaa23'
'8a75fe79fbd0ac1f042d6db88ca59ef4')
2011-03-28 01:53:51 +00:00
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
cd "$srcdir/temploggerd-1.3.8"
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install
2011-03-28 01:53:51 +00:00
}