PKGBUILDs/aur/owfs/PKGBUILD

36 lines
913 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 >
2011-06-09 21:51:42 +00:00
plugrel=1
2011-03-28 01:53:51 +00:00
2012-03-12 21:05:59 +00:00
pkgname="owfs"
pkgver=2.8p14
2011-06-09 21:51:42 +00:00
pkgrel=1
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...)
depends=('fuse' 'swig')
makedepends=()
2011-03-28 01:53:51 +00:00
provides=('owfs')
2011-06-09 21:51:42 +00:00
conflicts=('owfs')
replaces=()
backup=()
options=()
install=
source=(http://downloads.sourceforge.net/sourceforge/owfs/$pkgname-$pkgver.tar.gz)
noextract=()
2012-03-12 21:05:59 +00:00
md5sums=('cd213fd9bbfed95cca2c833c0f14dd72')
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
}