mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 14:33:55 +00:00
This commit will fix .deb packaging instructions for Ubuntu 16.04. Meanwhile, .deb packaging for Debian/Ubuntu is now only suitable for Ubuntu 16.04 LTS or higher, Debian 9 or higher. Debian 8 users won't be able to build from source too because this project now requires libsodium >= 1.0.8. Jessie-packports is needed to build on Debian 8.
29 lines
645 B
Makefile
Executable File
29 lines
645 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# See debhelper(7) (uncomment to enable)
|
|
# output every command that modifies files on the build system.
|
|
#export DH_VERBOSE = 1
|
|
|
|
# Security Hardening
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/buildflags.mk
|
|
|
|
override_dh_auto_install:
|
|
find src/ -name '*.la' -delete
|
|
dh_auto_install
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
--enable-shared \
|
|
--disable-ssp
|
|
|
|
override_dh_installchangelogs:
|
|
dh_installchangelogs -XChanges
|
|
|
|
override_dh_shlibdeps:
|
|
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
|
|
|
%:
|
|
dh $@ --with systemd,autoreconf
|