--- /dev/null
+# checkout source with
+
+all:
+ echo "make [checkout deb]"
+
+checkout:
+ hg clone http://www.wizy.org/mercurial/zfs-fuse/trunk zfs-fuse
+
+install: uninstall
+ cd 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 zfs-fuse
+ 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 http://www.wizy.org/wiki/ZFS_on_FUSE --maintainer dpavlin@rot13.org \
+ --provides zfs --requires libfuse2,fuse-utils,libaio1 \
+ --exclude /rest/cvs/zfs-fuse/src/.sconsign.dblite \