summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/fuse/PKGBUILD
blob: 62d8f8105dd8b5f6684d729ac29f0d4b1518275e (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
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Mark Rosenstand <mark@archlinux.org>
pkgname=fuse
pkgver=2.7.3
pkgrel=1
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
arch=(i686 x86_64)
url="http://fuse.sourceforge.net/"
license="GPL2"
depends=('glibc')
makedepends=('pkgconfig')
install=fuse.install
source=(http://mesh.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
options=(!libtool)
md5sums=('98563fc7b265b7479a3178181cbcf59a')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --disable-kernel-module --enable-lib \
              --enable-util --bindir=/bin
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1

  # static device nodes will cause collision.
  rm -rf $startdir/pkg/dev
  # Remove init script in wrong path
  # Don't add our own for now, as fusectl fs oopses on 2.6.18
  rm -rf $startdir/pkg/etc/init.d
  #install -D -m755 $startdir/src/fuse.rc.d $startdir/pkg/etc/rc.d/fuse

  mkdir -p $startdir/pkg/lib
  mv $startdir/pkg/usr/lib/libfuse.so.${pkgver} $startdir/pkg/lib/ || return 1
  ln -s ../../lib/libfuse.so.${pkgver} $startdir/pkg/usr/lib/libfuse.so.${pkgver} || return 1
  ln -s libfuse.so.${pkgver} $startdir/pkg/lib/libfuse.so.2 || return 1
  mv $startdir/pkg/usr/lib/libulockmgr.so.1.0.1 $startdir/pkg/lib/ || return 1
  ln -s ../../lib/libulockmgr.so.1.0.1 $startdir/pkg/usr/lib/libulockmgr.so.1.0.1 || return 1
  ln -s libulockmgr.so.1.0.1 $startdir/pkg/lib/libulockmgr.so.1 || return 1
}