From 0ac1fe1183e5841d15506a56aa1868033a0db2f7 Mon Sep 17 00:00:00 2001 From: d3v1150m471c Date: Sun, 10 Jul 2011 04:39:18 -0500 Subject: Changed makefile to 'Makefile' in contrib/peer2anonet --- contrib/peer2anonet/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 contrib/peer2anonet/Makefile (limited to 'contrib/peer2anonet/Makefile') diff --git a/contrib/peer2anonet/Makefile b/contrib/peer2anonet/Makefile new file mode 100644 index 0000000..24d52e7 --- /dev/null +++ b/contrib/peer2anonet/Makefile @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +install-deb: + mkdir DEBIAN/peer2anonet + mkdir DEBIAN/peer2anonet/DEBIAN + mkdir DEBIAN/peer2anonet/usr + mkdir DEBIAN/peer2anonet/usr/bin + mkdir DEBIAN/peer2anonet/etc + mkdir DEBIAN/peer2anonet/etc/peer2anonet + cp DEBIAN/control DEBIAN/peer2anonet/DEBIAN/control + cp peer2anonet DEBIAN/peer2anonet/usr/bin/peer2anonet + chmod +x DEBIAN/peer2anonet/usr/bin/peer2anonet + cp LICENSE DEBIAN/peer2anonet/etc/peer2anonet/LICENSE + dpkg-deb --build DEBIAN/peer2anonet + dpkg -i DEBIAN/peer2anonet.deb + rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb + +install: + cp peer2anonet /usr/bin/peer2anonet + chmod +x /usr/bin/peer2anonet + mkdir /etc/peer2anonet + cp LICENSE /etc/peer2anonet/LICENSE + +uninstall: + rm -r /usr/bin/peer2anonet /etc/peer2anonet -- cgit v1.2.3