- How can I handle that kfreebsd should install a different set of files?
Have lirc.install file for most arches and lirc.install.kfreebsd for that platform.
- Is it possible to conditionalize the rules file w r t platform?
- If so, how?
I got things like this in my rules file:
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifeq ($(DEB_HOST_ARCH_OS),linux)
LINUX_CONFIGURE_EXTRA_FLAGS = --with-systemd --enable-libselinux
endif
I also use dh-exec for some of my library install lines to get them into the right directory.
- Craig