/[sysadmin-cookbook]/recepies/zfs/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/zfs/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 123 by dpavlin, Mon Aug 10 23:36:36 2009 UTC revision 241 by dpavlin, Fri Feb 11 17:25:08 2011 UTC
# Line 1  Line 1 
1  # checkout source with  # use newer zfs-fuse branch
2    
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/
6    
7  all:  all:
8          echo "make [checkout deb clean]"          echo "make [checkout deb clean]"
9    
10  checkout:  checkout:
11          #hg clone http://www.wizy.org/mercurial/zfs-fuse/trunk zfs-fuse          git clone $(upstream) zfs-fuse
         hg clone http://git.rudd-o.com/zfs zfs-fuse  
12    
13  install: uninstall  install: uninstall
14          cd src && scons install #install_dir=/usr/sbin/          cd zfs-fuse/src && scons install #install_dir=/usr/sbin/
15    
16  uninstall:  uninstall:
17          rm -vf /usr/local/sbin/zdb /usr/local/sbin/ztest /usr/local/sbin/zpool /usr/local/sbin/zfs /usr/local/sbin/zfs-fuse          rm -vf /usr/local/sbin/zdb /usr/local/sbin/ztest /usr/local/sbin/zpool /usr/local/sbin/zfs /usr/local/sbin/zfs-fuse
18    
19  deb: uninstall zfs-fuse  deb: uninstall
20          echo "ZFS on FUSE/Linux" > zfs-fuse/description-pak          echo "ZFS on FUSE/Linux" > zfs-fuse/description-pak
21          echo "install:" > zfs-fuse/Makefile          echo "install:" > zfs-fuse/Makefile
22          echo "  cd src && scons install" >> zfs-fuse/Makefile          echo "  cd src && scons install" >> zfs-fuse/Makefile
23          cd zfs-fuse && sudo checkinstall \          cd zfs-fuse && sudo checkinstall \
24                  --pkgname zfs-fuse --pkgversion `hg log --limit 1 | cut -d: -f2 | head -1` \                  --pkgname zfs-fuse --pkgversion `hg log --limit 1 | cut -d: -f2 | head -1` \
25                  --pkglicense CDDL --pkggroup contrib/non-free \                  --pkglicense CDDL --pkggroup contrib/non-free \
26                  --pkgsource http://www.wizy.org/wiki/ZFS_on_FUSE --maintainer dpavlin@rot13.org \                  --pkgsource $(upstream) --maintainer dpavlin@rot13.org \
27                  --provides zfs --requires libfuse2,fuse-utils,libaio1 \                  --provides zfs --requires libfuse2,fuse-utils,libaio1 \
28                  --exclude /rest/cvs/zfs-fuse/src/.sconsign.dblite \                  --exclude /rest/cvs/zfs-fuse/src/.sconsign.dblite \
29    

Legend:
Removed from v.123  
changed lines
  Added in v.241

  ViewVC Help
Powered by ViewVC 1.1.26