1 # Contributor: Francesc Ortiz <francescortiz@gmail.com>
5 pkgdesc="Fuse transparent compressed read-write for linux filesystems"
7 url="http://parallel.vub.ac.be/~johan/compFUSEd/"
9 depends=(fuse bzip2 lzo lzo2 zlib)
16 source=(http://parallel.vub.ac.be/~johan/compFUSEd/index.php/option/downloads/task/download/id/8)
18 md5sums=('b4322e48f102a8902ee031e17420b2e8')
22 mv 8 cf-GISMO-200705823.tgz
23 tar xvzf cf-GISMO-200705823.tgz
24 cd $startdir/src/CompFused/Gismo
26 # fix etc paths to match arch linux
27 sed -i 's/\/usr\/local\/etc\//\/etc\/compFUSEd\//g' cf_defines.h || return 1
28 sed -i 's/\/usr\/local\/etc\//\/etc\/compFUSEd\//g' compFUSEd.conf || return 1
29 sed -i 's/\/usr\/local\/lib\//\/usr\/lib\/compfused\//g' compFUSEd.conf || return 1
33 #make cf_extract || return 1
36 mkdir -p $startdir/pkg/usr/sbin
37 cp $startdir/src/CompFused/Gismo/cf_main $startdir/pkg/usr/sbin || return 1
38 cp $startdir/src/CompFused/Gismo/cf_inspect $startdir/pkg/usr/sbin || return 1
39 cp $startdir/src/CompFused/Gismo/cf_fsinfo $startdir/pkg/usr/sbin || return 1
41 #cp $startdir/src/CompFused/Gismo/cf_extract $startdir/pkg/usr/sbin || return 1
44 mkdir -p $startdir/pkg/usr/lib/compfused
45 cp $startdir/src/CompFused/Gismo/plugins/*.so $startdir/pkg/usr/lib/compfused || return 1
48 mkdir -p $startdir/pkg/etc/compFUSEd
49 cp $startdir/src/CompFused/Gismo/compFUSEd.conf $startdir/pkg/etc/compFUSEd || return 1