1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-06-28 11:55:08 +03:00
This commit is contained in:
Hideki Yamane 2016-04-27 17:41:52 +00:00
commit ea63b6dd9b
5 changed files with 11 additions and 16 deletions

1
compat
View File

@ -1 +0,0 @@
9

5
debian/clean vendored Normal file
View File

@ -0,0 +1,5 @@
Makefile*
usr
bin
tmp
src/bin/BuiltHamcoreFiles

2
debian/compat vendored
View File

@ -1 +1 @@
9
7

19
debian/rules vendored
View File

@ -1,24 +1,15 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_configure: configure_config
override_dh_auto_clean:
rm -fr Makefile* usr bin tmp src/bin/BuiltHamcoreFiles
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
override_dh_auto_install:
patch -f < debian/makefile.patch
mkdir -p usr/bin
make install
configure_config:
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