mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
34 lines
994 B
Bash
34 lines
994 B
Bash
# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
|
|
# tzervo <tzervo@gmail.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - added libusb-compat depend, ed makedepend
|
|
|
|
pkgname="owfs"
|
|
pkgver=2.9p1
|
|
pkgrel=0.1
|
|
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' 'libusb-compat')
|
|
makedepends=('ed')
|
|
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
|
|
}
|