1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-09-19 17:59:19 +03:00

fix debian package builds (#554)

* fix debian builds

issue described: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/550

* add cmake3 dependency (for ubuntu 14.04)

* "compat" belongs to debian/ subfolder

that file is not needed in root folder

* update debian package version

* compare debian/changelog and src/CurrentBuild.txt
This commit is contained in:
Ilya Shipitsin
2018-06-28 16:23:21 +05:00
committed by Moataz Elmasry
parent 1e8cf1dc5d
commit be0ebb65c1
11 changed files with 54 additions and 12 deletions

8
debian/rules vendored
View File

@ -1,6 +1,7 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
export CMAKE_INSTALL_PREFIX=`pwd`/../../usr
CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
@ -9,13 +10,14 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
override_dh_auto_configure: configure_config
override_dh_auto_make:
make -C tmp
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
make -C tmp install
configure_config:
if [ $(shell uname -m) = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi