comparison contrib/peer2anonet/makefile @ 535:5965e074d13a draft

added peer2anonet: autoconfig tool for easily setting up peering and bgp on anonet using quicktun, bird, and daemontools
author d3v1150m471c <d3v11@d3v1150m471c.ano>
date Sun, 10 Jul 2011 04:31:25 -0500
parents
children
comparison
equal deleted inserted replaced
534:6cabfa36696d 535:5965e074d13a
1 #!/usr/bin/make -f
2
3 install-deb:
4 mkdir DEBIAN/peer2anonet
5 mkdir DEBIAN/peer2anonet/DEBIAN
6 mkdir DEBIAN/peer2anonet/usr
7 mkdir DEBIAN/peer2anonet/usr/bin
8 mkdir DEBIAN/peer2anonet/etc
9 mkdir DEBIAN/peer2anonet/etc/peer2anonet
10 cp DEBIAN/control DEBIAN/peer2anonet/DEBIAN/control
11 cp peer2anonet DEBIAN/peer2anonet/usr/bin/peer2anonet
12 chmod +x DEBIAN/peer2anonet/usr/bin/peer2anonet
13 cp LICENSE DEBIAN/peer2anonet/etc/peer2anonet/LICENSE
14 dpkg-deb --build DEBIAN/peer2anonet
15 dpkg -i DEBIAN/peer2anonet.deb
16 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb
17
18 install:
19 cp peer2anonet /usr/bin/peer2anonet
20 chmod +x /usr/bin/peer2anonet
21 mkdir /etc/peer2anonet
22 cp LICENSE /etc/peer2anonet/LICENSE
23
24 uninstall:
25 rm -r /usr/bin/peer2anonet /etc/peer2anonet