From 81aab712cfe805dc00010cb2ff5761787d0a4050 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 29 Oct 2011 10:17:30 -0400 Subject: SpliceX update: pyinstall added --- contrib/splicex/src/pymake.in | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 contrib/splicex/src/pymake.in (limited to 'contrib/splicex/src/pymake.in') diff --git a/contrib/splicex/src/pymake.in b/contrib/splicex/src/pymake.in new file mode 100644 index 0000000..f948da6 --- /dev/null +++ b/contrib/splicex/src/pymake.in @@ -0,0 +1,62 @@ +pyinstall-deb: + mkdir DEBIAN/splicex + mkdir DEBIAN/splicex/DEBIAN + mkdir DEBIAN/splicex/usr + mkdir DEBIAN/splicex/usr/bin + mkdir DEBIAN/splicex/etc + mkdir DEBIAN/splicex/etc/splicex + cp DEBIAN/control DEBIAN/splicex/DEBIAN/control + cp build/splicex.pyx DEBIAN/splicex/usr/bin/splicex + cp build/deshadow.pyx DEBIAN/splicex/usr/bin/splicex-deshadow + chmod +x DEBIAN/splicex/usr/bin/splicex + chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow + cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list + cp src/manual DEBIAN/splicex/etc/splicex/splicex.1 + gzip DEBIAN/splicex/etc/splicex/splicex.1 + cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L + cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N + cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S + cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN + cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS + cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS + cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL + dpkg-deb --build DEBIAN/splicex + dpkg -i DEBIAN/splicex.deb + rm -rf DEBIAN/splicex DEBIAN/splicex.deb + +pyinstall: + make preinstall + mkdir /etc/splicex + cp build/splicex.pyx /usr/bin/splicex + cp build/deshadow.pyx /usr/bin/splicex-deshadow + chmod +x /usr/bin/splicex + chmod +x /usr/bin/splicex-deshadow + cp src/splicex.list /etc/splicex/splicex.list + cp src/manual /etc/splicex/splicex.1 + gzip /etc/splicex/splicex.1 + cp src/splicex.L /etc/splicex/splicex.L + cp src/splicex.N /etc/splicex/splicex.N + cp src/splicex.S /etc/splicex/splicex.S + cp src/splicex.LN /etc/splicex/splicex.LN + cp src/splicex.LS /etc/splicex/splicex.LS + cp src/splicex.NS /etc/splicex/splicex.NS + cp src/splicex.ALL /etc/splicex/splicex.ALL + +uninstall: + rm -rf /etc/splicex + rm -f /usr/bin/splicex + rm -f /usr/bin/splicex-deshadow + +clean: + rm Makefile DEBIAN/splicex DEBIAN/*.deb build/* -rf + +preinstall: + rm -rf /etc/splicex + rm -f /usr/bin/splicex + rm -f /usr/bin/splicex-deshadow + rm DEBIAN/splicex DEBIAN/*.deb -rf + +update: + wget http://www.d3v11.ano/splicex.tgz + tar -xvf ../splicex.tgz --directory='../' + rm ../splicex.tgz -- cgit v1.2.3 From 516246a2c7ca83a055711b5703b3859560b5a23c Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 29 Oct 2011 11:41:38 -0400 Subject: SpliceX `make pyinstall*` now `make install` --- contrib/splicex/README | 4 ++-- contrib/splicex/src/pymake.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/splicex/src/pymake.in') diff --git a/contrib/splicex/README b/contrib/splicex/README index 1a8bf8a..66d01a2 100644 --- a/contrib/splicex/README +++ b/contrib/splicex/README @@ -86,12 +86,12 @@ PYTHONIC (UN)INSTALL: SOURCE: ./configure --no-compile - make pyinstall + make install DEBIAN/UBUNTU: ./configure --no-compile - make pyinstall-deb + make install-deb UNINSTALL: diff --git a/contrib/splicex/src/pymake.in b/contrib/splicex/src/pymake.in index f948da6..5ca74e2 100644 --- a/contrib/splicex/src/pymake.in +++ b/contrib/splicex/src/pymake.in @@ -1,4 +1,4 @@ -pyinstall-deb: +install-deb: mkdir DEBIAN/splicex mkdir DEBIAN/splicex/DEBIAN mkdir DEBIAN/splicex/usr @@ -24,7 +24,7 @@ pyinstall-deb: dpkg -i DEBIAN/splicex.deb rm -rf DEBIAN/splicex DEBIAN/splicex.deb -pyinstall: +install: make preinstall mkdir /etc/splicex cp build/splicex.pyx /usr/bin/splicex -- cgit v1.2.3