2011-03-28 01:53:51 +00:00
|
|
|
# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
|
2012-12-03 23:28:26 +00:00
|
|
|
# tzervo <tzervo@gmail.com>
|
2013-08-17 14:55:04 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - added libusb-compat depend, ed makedepend
|
|
|
|
|
2012-03-12 21:05:59 +00:00
|
|
|
pkgname="owfs"
|
2013-06-26 16:32:51 +00:00
|
|
|
pkgver=2.9p1
|
2013-08-17 14:55:04 +00:00
|
|
|
pkgrel=0.1
|
2011-06-09 21:51:42 +00:00
|
|
|
pkgdesc="An easy way to use the powerful 1-wire system of Dallas/Maxim."
|
2011-03-28 01:53:51 +00:00
|
|
|
arch=('any')
|
|
|
|
url="http://www.owfs.org"
|
|
|
|
license=('GPL')
|
2011-06-09 21:51:42 +00:00
|
|
|
groups=()
|
|
|
|
# Dependencies are not mandatory to build owserver, but:
|
|
|
|
# - fuse is needed for owfs
|
|
|
|
# - swig is needed for scripting languages bindings (perl, python...)
|
2013-08-17 14:55:04 +00:00
|
|
|
depends=('fuse' 'swig' 'python2' 'libusb-compat')
|
|
|
|
makedepends=('ed')
|
2011-06-09 21:51:42 +00:00
|
|
|
replaces=()
|
|
|
|
backup=()
|
|
|
|
options=()
|
|
|
|
install=
|
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/owfs/$pkgname-$pkgver.tar.gz)
|
|
|
|
noextract=()
|
2013-06-26 16:32:51 +00:00
|
|
|
md5sums=('56ba145be208002e58775a7203369851')
|
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
|
|
|
|
}
|