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