#!/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