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 |
|
|
6 |
all: |
all: |
7 |
echo "make [checkout deb clean]" |
echo "make [checkout deb clean]" |
8 |
|
|
9 |
checkout: |
checkout: |
10 |
#hg clone http://www.wizy.org/mercurial/zfs-fuse/trunk zfs-fuse |
hg clone $(upstream) zfs-fuse |
|
hg clone http://git.rudd-o.com/zfs zfs-fuse |
|
11 |
|
|
12 |
install: uninstall |
install: uninstall |
13 |
cd src && scons install #install_dir=/usr/sbin/ |
cd zfs-fuse/src && scons install #install_dir=/usr/sbin/ |
14 |
|
|
15 |
uninstall: |
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 |
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 |
deb: uninstall zfs-fuse |
deb: uninstall |
19 |
echo "ZFS on FUSE/Linux" > zfs-fuse/description-pak |
echo "ZFS on FUSE/Linux" > zfs-fuse/description-pak |
20 |
echo "install:" > zfs-fuse/Makefile |
echo "install:" > zfs-fuse/Makefile |
21 |
echo " cd src && scons install" >> zfs-fuse/Makefile |
echo " cd src && scons install" >> zfs-fuse/Makefile |
22 |
cd zfs-fuse && sudo checkinstall \ |
cd zfs-fuse && sudo checkinstall \ |
23 |
--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` \ |
24 |
--pkglicense CDDL --pkggroup contrib/non-free \ |
--pkglicense CDDL --pkggroup contrib/non-free \ |
25 |
--pkgsource http://www.wizy.org/wiki/ZFS_on_FUSE --maintainer dpavlin@rot13.org \ |
--pkgsource $(upstream) --maintainer dpavlin@rot13.org \ |
26 |
--provides zfs --requires libfuse2,fuse-utils,libaio1 \ |
--provides zfs --requires libfuse2,fuse-utils,libaio1 \ |
27 |
--exclude /rest/cvs/zfs-fuse/src/.sconsign.dblite \ |
--exclude /rest/cvs/zfs-fuse/src/.sconsign.dblite \ |
28 |
|
|