1 # use newer zfs-fuse branch
3 #upstream=http://www.wizy.org/mercurial/zfs-fuse/trunk
4 #upstream=http://git.rudd-o.com/zfs/
5 upstream=http://git.zfs-fuse.net/official/
8 echo "make [checkout deb clean]"
11 git clone $(upstream) zfs-fuse
14 cd zfs-fuse/src && scons install #install_dir=/usr/sbin/
17 rm -vf /usr/local/sbin/zdb /usr/local/sbin/ztest /usr/local/sbin/zpool /usr/local/sbin/zfs /usr/local/sbin/zfs-fuse
20 echo "ZFS on FUSE/Linux" > zfs-fuse/description-pak
21 echo "install:" > zfs-fuse/Makefile
22 echo " cd src && scons install" >> zfs-fuse/Makefile
23 cd zfs-fuse && sudo checkinstall \
24 --pkgname zfs-fuse --pkgversion `hg log --limit 1 | cut -d: -f2 | head -1` \
25 --pkglicense CDDL --pkggroup contrib/non-free \
26 --pkgsource $(upstream) --maintainer dpavlin@rot13.org \
27 --provides zfs --requires libfuse2,fuse-utils,libaio1 \
28 --exclude /rest/cvs/zfs-fuse/src/.sconsign.dblite \
31 sudo apt-get install checkinstall libfuse-dev fuse-utils libaio-dev