1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 10:59:53 +03:00
SoftEtherVPN/debian/rules

19 lines
478 B
Plaintext
Raw Normal View History

2014-02-05 01:49:46 +04:00
#!/usr/bin/make -f
#export DH_VERBOSE=1
2014-02-05 01:49:46 +04:00
%:
dh $@
2015-03-26 19:58:11 +03:00
override_dh_auto_configure:
if [ $(shell uname -m) = 'x86_64' ]; then echo "1\n2\n" | ./configure; fi
if [ $(shell uname -m) = 'i686' ]; then echo "1\n1\n" | ./configure; fi
if [ $(shell uname -m) = 'armv6l' ]; then echo "1\n1\n" | ./configure; fi
2014-02-05 01:49:46 +04:00
override_dh_auto_clean:
rm -fr Makefile* usr bin tmp src/bin/BuiltHamcoreFiles
override_dh_auto_install:
patch -f < debian/makefile.patch
mkdir -p usr/bin
make install