File: rules

package info (click to toggle)
xqilla 2.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 47,028 kB
  • sloc: cpp: 72,838; ansic: 21,322; sh: 10,157; yacc: 4,806; xml: 4,575; makefile: 1,071; lex: 800; sed: 17
file content (17 lines) | stat: -rwxr-xr-x 442 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

DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# shared library versions, option 1
version=6.0.4

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-xerces=/usr $(shell dpkg-buildflags --export=configure)

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR) install
	chrpath -d $(CURDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/libxqilla.so.$(version)
	chrpath -d $(CURDIR)/usr/bin/xqilla