mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
219c3d3cf2
Fixing error for Debian GNU/Linux 7 During install launching: $ debuild binary Select your operating system below: 1: Linux 2: FreeBSD 3: Solaris 4: Mac OS X 5: OpenBSD Which is your operating system (1 - 5) ? : Wrong number. make[1]: *** [configure_config] Error 1 make[1]: Leaving directory `/usr/local/src/SoftEtherVPN' make: *** [binary] Error 2 debuild: fatal error at line 1333: couldn't exec debian/rules:
25 lines
622 B
Makefile
Executable File
25 lines
622 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DH_VERBOSE=1
|
|
CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
|
|
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure: configure_config
|
|
|
|
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
|
|
|
|
configure_config:
|
|
if [ $(shell uname -m) = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi
|
|
if [ $(shell uname -m) = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi
|
|
if [ $(shell uname -m) = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi
|
|
|