[go: up one dir, main page]

File: rules

package info (click to toggle)
distorm3 3.4.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,392 kB
  • sloc: ansic: 11,843; python: 4,979; cs: 1,749; java: 1,478; cpp: 146; makefile: 84
file content (17 lines) | stat: -rwxr-xr-x 419 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
#export DH_VERBOSE=1

# The lib real version:
LIB_R_VERSION=3.4.1

DESTDIR=$(CURDIR)/debian/libdistorm3-3
TEMPDEB=$(CURDIR)/debian/tmp
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,now

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install-arch:
	dh_install
	cp $(TEMPDEB)/usr/lib/python3/dist-packages/distorm3/libdistorm3.so \
           $(DESTDIR)/usr/lib/libdistorm3.so.$(LIB_R_VERSION)