diff options
author | d3v11 <d3v11@d3v11.ano> | 2011-09-23 00:12:08 -0500 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2011-09-23 00:12:08 -0500 |
commit | e7437b31a5bb66fcce4bb32239d6c4b87cf84741 (patch) | |
tree | 81856c3c0b8dcdc76e4010aa746efd7a394e16dd /contrib/splice3/Makefile | |
parent | efb8058dbf54c06a017d2a346405be4076aac5c2 (diff) | |
download | resdb-e7437b31a5bb66fcce4bb32239d6c4b87cf84741.tar.gz resdb-e7437b31a5bb66fcce4bb32239d6c4b87cf84741.zip |
added splice3 to resdb/contrib
Diffstat (limited to 'contrib/splice3/Makefile')
-rw-r--r-- | contrib/splice3/Makefile | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/contrib/splice3/Makefile b/contrib/splice3/Makefile new file mode 100644 index 0000000..c7350f8 --- /dev/null +++ b/contrib/splice3/Makefile @@ -0,0 +1,72 @@ +#!/usr/bin/make -f + +install-deb: + make clean + mkdir DEBIAN/splice3 + mkdir DEBIAN/splice3/DEBIAN + mkdir DEBIAN/splice3/usr + mkdir DEBIAN/splice3/usr/bin + mkdir DEBIAN/splice3/etc + mkdir DEBIAN/splice3/etc/splice3 + cp DEBIAN/control DEBIAN/splice3/DEBIAN/control + ./LINUX/splice3.compile + mv LINUX/splice3.pyc DEBIAN/splice3/usr/bin/splice3 + mv LINUX/splice3-deshadow.pyc DEBIAN/splice3/usr/bin/splice3-deshadow + chmod +x DEBIAN/splice3/usr/bin/splice3 + chmod +x DEBIAN/splice3/usr/bin/splice3-deshadow + cp SPLICE3/splice3.list DEBIAN/splice3/etc/splice3/splice3.list + cp LINUX/manual DEBIAN/splice3/etc/splice3/splice3.1 + gzip DEBIAN/splice3/etc/splice3/splice3.1 + cp SPLICE3/LICENSE DEBIAN/splice3/etc/splice3/LICENSE + cp SPLICE3/splice3.L DEBIAN/splice3/etc/splice3/splice3.L + cp SPLICE3/splice3.N DEBIAN/splice3/etc/splice3/splice3.N + cp SPLICE3/splice3.S DEBIAN/splice3/etc/splice3/splice3.S + cp SPLICE3/splice3.LN DEBIAN/splice3/etc/splice3/splice3.LN + cp SPLICE3/splice3.LS DEBIAN/splice3/etc/splice3/splice3.LS + cp SPLICE3/splice3.NS DEBIAN/splice3/etc/splice3/splice3.NS + cp SPLICE3/splice3.LNS DEBIAN/splice3/etc/splice3/splice3.LNS + dpkg-deb --build DEBIAN/splice3 + dpkg -i DEBIAN/splice3.deb + rm -rf DEBIAN/splice3 DEBIAN/splice3.deb + +install: + make clean + make uninstall + ./LINUX/splice3.compile + mv LINUX/splice3.pyc /usr/bin/splice3 + mv LINUX/splice3-deshadow.pyc /usr/bin/splice3-deshadow + chmod +x /usr/bin/splice3 + chmod +x /usr/bin/splice3-deshadow + mkdir /etc/splice3 + cp SPLICE3/splice3.list /etc/splice3/splice3.list + cp LINUX/manual /etc/splice3/splice3.1 + gzip /etc/splice3/splice3.1 + cp SPLICE3/splice3.L /etc/splice3/splice3.L + cp SPLICE3/splice3.N /etc/splice3/splice3.N + cp SPLICE3/splice3.S /etc/splice3/splice3.S + cp SPLICE3/splice3.LN /etc/splice3/splice3.LN + cp SPLICE3/splice3.LS /etc/splice3/splice3.LS + cp SPLICE3/splice3.NS /etc/splice3/splice3.NS + cp SPLICE3/splice3.LNS /etc/splice3/splice3.LNS + cp SPLICE3/LICENSE /etc/splice3/LICENSE + +uninstall: + rm -rf /etc/splice3 + rm -f /usr/bin/splice3 + rm -f /usr/bin/splice3-deshadow + +update-tor: + usewithtor wget http://nbafkr7odek2wh6r.onion/splice3.tgz -O ../splice3.tar.gz + tar -xvf ../splice3.tar.gz --directory='../' + rm ../splice3.tar.gz + cat CHANGES + +update: + wget http://www.d3v11.ano/splice3.tgz -O ../splice3.tar.gz + tar -xvf ../splice3.tar.gz --directory='../' + rm ../splice3.tar.gz + cat CHANGES + +clean: + rm */*.pyc DEBIAN/splice3 DEBIAN/*.deb -rf + |