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

  ViewVC Help
Powered by ViewVC 1.1.26