File: rules

package info (click to toggle)
mmdb 2.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 3,736 kB
  • sloc: cpp: 45,698; sh: 11,463; makefile: 35
file content (17 lines) | stat: -rwxr-xr-x 476 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

%:
	dh $@ --with autoreconf --ddeb-migration='libmmdb2-0-dbg (<< 2.0.5-1~)'

override_dh_auto_configure:
	dh_auto_configure -- --enable-shared --disable-static

override_dh_install:
	# libmmdb2-0
	dh_installdocs -p libmmdb2-0 README
	dh_install -p libmmdb2-0 usr/lib/*/libmmdb2.so.*

	# libmmdb2-dev
	dh_install -p libmmdb2-dev usr/include/mmdb2/*
	dh_install -p libmmdb2-dev usr/lib/*/libmmdb2*.so
	dh_install -p libmmdb2-dev usr/lib/*/pkgconfig/mmdb2.pc