File: rules

package info (click to toggle)
node-zipfile 0.5.12%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,004 kB
  • sloc: cpp: 508; makefile: 52; sh: 29; lisp: 10
file content (21 lines) | stat: -rwxr-xr-x 491 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_install:
	dh_install
	chmod 644 $(CURDIR)/debian/node-zipfile/usr/lib/nodejs/zipfile/lib/binding/zipfile.node

override_dh_auto_configure:
	node-gyp configure --shared_libzip=true \
		--shared_libzip_includes=`pkg-config libzip --cflags-only-I | sed s/-I//g` \
		--module_name=zipfile --module_path="$(CURDIR)/lib/binding"

override_dh_auto_build:
	node-gyp build