--- recepies/zfs/Makefile 2009/08/10 23:42:34 125 +++ recepies/zfs/Makefile 2009/08/14 19:23:20 126 @@ -1,26 +1,28 @@ -# checkout source with +# 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 http://www.wizy.org/mercurial/zfs-fuse/trunk zfs-fuse - hg clone http://git.rudd-o.com/zfs zfs-fuse + hg clone $(upstream) zfs-fuse install: uninstall - cd src && scons install #install_dir=/usr/sbin/ + 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 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 http://www.wizy.org/wiki/ZFS_on_FUSE --maintainer dpavlin@rot13.org \ + --pkgsource $(upstream) --maintainer dpavlin@rot13.org \ --provides zfs --requires libfuse2,fuse-utils,libaio1 \ --exclude /rest/cvs/zfs-fuse/src/.sconsign.dblite \