/[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

Annotation of /recepies/zfs/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 126 - (hide annotations)
Fri Aug 14 19:23:20 2009 UTC (14 years, 9 months ago) by dpavlin
File size: 1010 byte(s)
new upstream
1 dpavlin 126 # use newer zfs-fuse branch
2 root 43
3 dpavlin 126 #upstream=http://www.wizy.org/mercurial/zfs-fuse/trunk
4     upstream=http://git.rudd-o.com/zfs/
5    
6 root 43 all:
7 dpavlin 81 echo "make [checkout deb clean]"
8 root 43
9     checkout:
10 dpavlin 126 hg clone $(upstream) zfs-fuse
11 root 43
12     install: uninstall
13 dpavlin 126 cd zfs-fuse/src && scons install #install_dir=/usr/sbin/
14 root 43
15     uninstall:
16     rm -vf /usr/local/sbin/zdb /usr/local/sbin/ztest /usr/local/sbin/zpool /usr/local/sbin/zfs /usr/local/sbin/zfs-fuse
17    
18 dpavlin 126 deb: uninstall
19 root 43 echo "ZFS on FUSE/Linux" > zfs-fuse/description-pak
20     echo "install:" > zfs-fuse/Makefile
21     echo " cd src && scons install" >> zfs-fuse/Makefile
22     cd zfs-fuse && sudo checkinstall \
23     --pkgname zfs-fuse --pkgversion `hg log --limit 1 | cut -d: -f2 | head -1` \
24     --pkglicense CDDL --pkggroup contrib/non-free \
25 dpavlin 126 --pkgsource $(upstream) --maintainer dpavlin@rot13.org \
26 root 43 --provides zfs --requires libfuse2,fuse-utils,libaio1 \
27     --exclude /rest/cvs/zfs-fuse/src/.sconsign.dblite \
28 dpavlin 81
29 dpavlin 123 depends:
30     sudo apt-get install checkinstall libfuse-dev fuse-utils libaio-dev
31    
32 dpavlin 81 clean:
33     rm -Rf zfs-fuse/

  ViewVC Help
Powered by ViewVC 1.1.26