mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
911 B
Bash
32 lines
911 B
Bash
# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
|
|
# tzervo <tzervo@gmail.com>
|
|
pkgname="owfs"
|
|
pkgver=2.9p1
|
|
pkgrel=0
|
|
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' 'python2')
|
|
makedepends=()
|
|
provides=('owfs')
|
|
conflicts=('owfs')
|
|
replaces=()
|
|
backup=()
|
|
options=()
|
|
install=
|
|
source=(http://downloads.sourceforge.net/sourceforge/owfs/$pkgname-$pkgver.tar.gz)
|
|
noextract=()
|
|
md5sums=('56ba145be208002e58775a7203369851')
|
|
|
|
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
|
|
}
|