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