File: rules

package info (click to toggle)
libp11-openssl1.1 0.4.4-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 640 kB
  • ctags: 1,346
  • sloc: ansic: 6,458; sh: 233; makefile: 128
file content (17 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

OPENSSL_VERSION := \
  $(shell pkg-config --modversion openssl | \sed "s/[a-z]$$//" | cut -d . -f -2)
ENGINES_DIR := /usr/lib/$(DEB_HOST_GNU_TYPE)/engines-$(OPENSSL_VERSION)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-enginesdir=$(ENGINES_DIR)

override_dh_auto_install:
	dh_auto_install --destdir=$(CURDIR)/debian/tmp