File: rules

package info (click to toggle)
libsecp256k1 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,524 kB
  • sloc: ansic: 43,141; asm: 736; python: 602; makefile: 273; sh: 214
file content (26 lines) | stat: -rwxr-xr-x 693 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,now

%:
	dh $@ --with pkgkde_symbolshelper

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-module-recovery \
		--enable-module-ecdh \
		--enable-module-extrakeys \
		--enable-module-schnorrsig

# Let d-shlibs calculate development package dependencies
#  and handle shared library install
override_dh_install:
	dh_install
	d-shlibmove --commit \
		--devunversioned \
		--exclude-la \
		--multiarch \
		--movedev "debian/tmp/usr/include/*" usr/include/ \
		--movedev "debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*" \
			usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so