summaryrefslogtreecommitdiff
path: root/debian/rules
blob: a1fdc32e9b8e9cad7fb3e2db2b7cdd9f9215f66c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f

python_mod_name := rpm_tizen

CPPFLAGS += $(shell pkg-config --cflags nss)

%:
	dh $@ --with python2,autoreconf,autotools_dev

override_dh_auto_configure:
	dh_auto_configure -- --disable-dependency-tracking \
			--libdir=/usr/lib/librpm-tizen \
			--without-lua \
			--without-acl \
			--without-cap \
			--enable-shared \
			--enable-python \
			--with-external-db \
			--build=${DEB_BUILD_GNU_CPU}-tizen-linux \
			PYTHON_MODULENAME=$(python_mod_name) \
			CPPFLAGS="$(CPPFLAGS)"

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

override_dh_python2:
	dh_python2 --no-guessing-versions