2011-03-28 01:53:51 +00:00
|
|
|
# Maintainer: tzervo <tzervo@gmail.com>
|
|
|
|
# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
|
|
|
|
|
2011-03-31 03:33:17 +00:00
|
|
|
plugrel=2
|
2011-03-28 01:53:51 +00:00
|
|
|
|
|
|
|
pkgname=owfs
|
|
|
|
pkgver=2.8p7
|
2011-03-31 03:33:17 +00:00
|
|
|
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')
|
2011-03-31 03:33:17 +00:00
|
|
|
depends=('fuse' 'swig' 'rrdtool')
|
2011-03-28 01:53:51 +00:00
|
|
|
provides=('owfs')
|
2011-03-31 03:33:17 +00:00
|
|
|
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
|
2011-03-31 03:33:17 +00:00
|
|
|
|
|
|
|
cd "$srcdir/temploggerd-1.3.8"
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR="$pkgdir" install
|
2011-03-28 01:53:51 +00:00
|
|
|
}
|
|
|
|
|