summaryrefslogtreecommitdiff
path: root/community/obexfs/PKGBUILD
blob: c2c172748425c740d659813e09e45b6c0c2e4e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 20975 2010-07-13 09:53:35Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Packager: cs-cam - me.at.camdaniel.com

pkgname=obexfs
pkgver=0.12
pkgrel=2
pkgdesc="FUSE based filesystem using ObexFTP (currently beta)."
arch=('i686' 'x86_64' 'mips64el')
url="http://openobex.triq.net/obexfs"
license=('GPL')
source=(http://triq.net/obexftp/$pkgname-$pkgver.tar.gz)
depends=('fuse' 'obexftp>=0.22')
md5sums=('0f505672b025cdb505e215ee707a2e2f')

build() {
  cd $srcdir/$pkgname-$pkgver

  export OBEXFTP_CFLAGS="-I/usr/include/obexftp -I/usr/include/multicobex -I/usr/include/bfb"
  export OBEXFTP_LIBS="-lobexftp -lmulticobex -lbfb -lopenobex -lbluetooth"

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$pkgdir install || return 1
}