summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet/makefile
diff options
context:
space:
mode:
authord3v1150m471c <d3v11@d3v1150m471c.ano>2011-07-10 04:31:25 -0500
committerd3v1150m471c <d3v11@d3v1150m471c.ano>2011-07-10 04:31:25 -0500
commit303e7c468b43fde9522669ddcd6ed9848d806024 (patch)
treee761c7aadc58bab4caa5b7cfe4faa32fa23a622d /contrib/peer2anonet/makefile
parent357ef2362b2940f25849e50c8fb989f22902cc79 (diff)
downloadresdb-303e7c468b43fde9522669ddcd6ed9848d806024.tar.gz
resdb-303e7c468b43fde9522669ddcd6ed9848d806024.zip
added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
Diffstat (limited to 'contrib/peer2anonet/makefile')
-rw-r--r--contrib/peer2anonet/makefile25
1 files changed, 25 insertions, 0 deletions
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