debian swirl logo

Back to the packages list smart

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_PYTHON_DISTUTILS_INSTALLDIR_SKEL = /usr/lib/@PYTHONBINARY@/dist-packages/

common-binary-arch common-binary-indep:: smartpm-movefiles
smartpm-movefiles: install/python-smartpm install/smartpm install/smartpm-core
		dh_movefiles -psmartpm
		dh_movefiles -psmartpm-core
		dh_movefiles -ppython-smartpm
		mv $(CURDIR)/debian/tmp/usr/bin/smart $(CURDIR)/debian/python-smartpm/usr/share/smart/smart
	# use default Python version in shebang
		sed -i -e '1s,usr/bin/.*,usr/bin/python,' $(CURDIR)/debian/python-smartpm/usr/share/smart/smart

clean::
		rm -f locale/*/LC_MESSAGES/smart.mo

Builds:

python-smartpm
python library of the smart package manager
smartpm
an alternative package manager that works with dpkg/rpm
smartpm-core
an alternative package manager that works with dpkg/rpm