blob: 5949630184a946c64379191ca5bf02f24bdb3181 (
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
29
30
31
32
33
|
#!/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 \
--with-lua \
--without-acl \
--without-cap \
--enable-shared \
--enable-python \
--with-external-db \
--build=${DEB_BUILD_GNU_CPU}-tizen-linux \
PYTHON_MODULENAME=$(python_mod_name) \
LUA_PKGCONFIG_NAME=lua5.1 \
CPPFLAGS="$(CPPFLAGS)"
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
# Install extra sources
install -m644 packaging/rpm-tizen_macros debian/tmp/usr/lib/librpm-tizen/rpm/tizen_macros
install -d debian/tmp/usr/lib/librpm-tizen/rpm/tizen
ln -s ../tizen_macros debian/tmp/usr/lib/librpm-tizen/rpm/tizen/macros
override_dh_python2:
dh_python2 --no-guessing-versions
|