Mercurial > hg > anonet-resdb
comparison contrib/splice3/Makefile @ 626:ed8cff39b9a7 draft
added splice3 to resdb/contrib
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Fri, 23 Sep 2011 00:12:08 -0500 |
parents | |
children | f6a665ac58ca |
comparison
equal
deleted
inserted
replaced
625:ad10fd05ee0e | 626:ed8cff39b9a7 |
---|---|
1 #!/usr/bin/make -f | |
2 | |
3 install-deb: | |
4 make clean | |
5 mkdir DEBIAN/splice3 | |
6 mkdir DEBIAN/splice3/DEBIAN | |
7 mkdir DEBIAN/splice3/usr | |
8 mkdir DEBIAN/splice3/usr/bin | |
9 mkdir DEBIAN/splice3/etc | |
10 mkdir DEBIAN/splice3/etc/splice3 | |
11 cp DEBIAN/control DEBIAN/splice3/DEBIAN/control | |
12 ./LINUX/splice3.compile | |
13 mv LINUX/splice3.pyc DEBIAN/splice3/usr/bin/splice3 | |
14 mv LINUX/splice3-deshadow.pyc DEBIAN/splice3/usr/bin/splice3-deshadow | |
15 chmod +x DEBIAN/splice3/usr/bin/splice3 | |
16 chmod +x DEBIAN/splice3/usr/bin/splice3-deshadow | |
17 cp SPLICE3/splice3.list DEBIAN/splice3/etc/splice3/splice3.list | |
18 cp LINUX/manual DEBIAN/splice3/etc/splice3/splice3.1 | |
19 gzip DEBIAN/splice3/etc/splice3/splice3.1 | |
20 cp SPLICE3/LICENSE DEBIAN/splice3/etc/splice3/LICENSE | |
21 cp SPLICE3/splice3.L DEBIAN/splice3/etc/splice3/splice3.L | |
22 cp SPLICE3/splice3.N DEBIAN/splice3/etc/splice3/splice3.N | |
23 cp SPLICE3/splice3.S DEBIAN/splice3/etc/splice3/splice3.S | |
24 cp SPLICE3/splice3.LN DEBIAN/splice3/etc/splice3/splice3.LN | |
25 cp SPLICE3/splice3.LS DEBIAN/splice3/etc/splice3/splice3.LS | |
26 cp SPLICE3/splice3.NS DEBIAN/splice3/etc/splice3/splice3.NS | |
27 cp SPLICE3/splice3.LNS DEBIAN/splice3/etc/splice3/splice3.LNS | |
28 dpkg-deb --build DEBIAN/splice3 | |
29 dpkg -i DEBIAN/splice3.deb | |
30 rm -rf DEBIAN/splice3 DEBIAN/splice3.deb | |
31 | |
32 install: | |
33 make clean | |
34 make uninstall | |
35 ./LINUX/splice3.compile | |
36 mv LINUX/splice3.pyc /usr/bin/splice3 | |
37 mv LINUX/splice3-deshadow.pyc /usr/bin/splice3-deshadow | |
38 chmod +x /usr/bin/splice3 | |
39 chmod +x /usr/bin/splice3-deshadow | |
40 mkdir /etc/splice3 | |
41 cp SPLICE3/splice3.list /etc/splice3/splice3.list | |
42 cp LINUX/manual /etc/splice3/splice3.1 | |
43 gzip /etc/splice3/splice3.1 | |
44 cp SPLICE3/splice3.L /etc/splice3/splice3.L | |
45 cp SPLICE3/splice3.N /etc/splice3/splice3.N | |
46 cp SPLICE3/splice3.S /etc/splice3/splice3.S | |
47 cp SPLICE3/splice3.LN /etc/splice3/splice3.LN | |
48 cp SPLICE3/splice3.LS /etc/splice3/splice3.LS | |
49 cp SPLICE3/splice3.NS /etc/splice3/splice3.NS | |
50 cp SPLICE3/splice3.LNS /etc/splice3/splice3.LNS | |
51 cp SPLICE3/LICENSE /etc/splice3/LICENSE | |
52 | |
53 uninstall: | |
54 rm -rf /etc/splice3 | |
55 rm -f /usr/bin/splice3 | |
56 rm -f /usr/bin/splice3-deshadow | |
57 | |
58 update-tor: | |
59 usewithtor wget http://nbafkr7odek2wh6r.onion/splice3.tgz -O ../splice3.tar.gz | |
60 tar -xvf ../splice3.tar.gz --directory='../' | |
61 rm ../splice3.tar.gz | |
62 cat CHANGES | |
63 | |
64 update: | |
65 wget http://www.d3v11.ano/splice3.tgz -O ../splice3.tar.gz | |
66 tar -xvf ../splice3.tar.gz --directory='../' | |
67 rm ../splice3.tar.gz | |
68 cat CHANGES | |
69 | |
70 clean: | |
71 rm */*.pyc DEBIAN/splice3 DEBIAN/*.deb -rf | |
72 |