mirror of https://github.com/PurpleI2P/i2pd.git
R4SAS
3 years ago
11 changed files with 18 additions and 74 deletions
@ -1,22 +1,16 @@ |
|||||||
#!/usr/bin/make -f |
#!/usr/bin/make -f |
||||||
# -*- makefile -*- |
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode. |
|
||||||
#export DH_VERBOSE=1 |
#export DH_VERBOSE=1 |
||||||
|
|
||||||
DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow |
|
||||||
#DPKG_EXPORT_BUILDFLAGS = 1 |
|
||||||
#include /usr/share/dpkg/buildflags.mk |
|
||||||
#CXXFLAGS+=$(CPPFLAGS) |
|
||||||
#PREFIX=/usr |
|
||||||
|
|
||||||
%: |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
||||||
dh $@ --parallel |
|
||||||
# dh_apparmor --profile-name=usr.sbin.i2pd -pi2pd |
|
||||||
|
include /usr/share/dpkg/architecture.mk |
||||||
|
|
||||||
override_dh_strip: |
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic -O3 |
||||||
dh_strip --dbg-package=i2pd-dbg |
|
||||||
|
|
||||||
## uncomment this if you have "missing info" problem when building package |
export DEB_LDFLAGS_MAINT_APPEND = |
||||||
#override_dh_shlibdeps: |
|
||||||
# dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info |
|
||||||
|
%: |
||||||
|
dh $@ --parallel |
||||||
|
@ -1,3 +1,3 @@ |
|||||||
version=3 |
version=4 opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%i2pd-$1.tar.gz%" \ |
||||||
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/i2pd-$1\.tar\.gz/ \ |
https://github.com/PurpleI2P/i2pd/tags \ |
||||||
https://github.com/PurpleI2P/i2pd/tags .*/v?(\d\S*)\.tar\.gz |
(?:.*?/)?(\d[\d.]*)\.tar\.gz debian uupdate |
||||||
|
Loading…
Reference in new issue