From f5258aed755575c1abf269348e4e335cdcb17a3b Mon Sep 17 00:00:00 2001 From: oroborus Date: Fri, 29 Feb 2008 11:30:21 +0000 Subject: - program sa da nainstalovat do /usr/ ( ak sa zmenia dve konstanty tak hocikam :) ) - script na robenie balickov pre debian-like distribuciach testovane pod Debian 4.3r a Ubuntu 7.10 vo VirtualBoxe 1.5.6 git-svn-id: http://opensvn.csie.org/tuxanci_ng@6 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- deb-build.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 deb-build.sh (limited to 'deb-build.sh') diff --git a/deb-build.sh b/deb-build.sh new file mode 100755 index 0000000..6b889e6 --- /dev/null +++ b/deb-build.sh @@ -0,0 +1,23 @@ + +rm -rf deb + +mkdir deb +mkdir deb/DEBIAN +mkdir deb/usr +mkdir deb/usr/bin +mkdir deb/usr/share + +cp control deb/DEBIAN/ + +cd deb + +echo -e "2.0\n" > DEBIAN/debian-binary + +cp /usr/bin/tuxanci-ng usr/bin/ +cp -rf /usr/share/tuxanci-ng usr/share/ + +md5sum `find ./ -type f | awk '/.\// { print substr($0, 3) }'` > DEBIAN/md5sums + +cd .. +rm -rf *.deb +dpkg -b ./deb tuxanci-ng_i386.deb -- cgit v1.2.3