2009/5/21 Neil Williams
<codehelp@debian.org>
Alternative demonstration:
Package: busybox-crush
Whitelist: coreutils
Optional: yes
...
Package: busybox
Blacklist: coreutils
Optional: yes
...
Then, something in debian/rules based on:
DEB_VENDOR_BLACKLIST := $(shell dpkg-vendor --query Blacklist || true)
ifeq (,$(findstring coreutils,$(DEB_VENDOR_BLACKLIST)))
build: $(STAMPS_DIR)/build_deb $(STAMPS_DIR)/build_static \
$(STAMPS_DIR)/build_udeb
binary-arch: binary-arch_deb binary-arch_static binary-arch_udeb
else
build: prepare-crush $(STAMPS_DIR)/build_crush
binary-arch: binary-arch_crush binary-indep
busybox-crush: build
endif
All this is very interesting and I am just wondering if Blacklist and Whitelist are the right names to pick up, as there might also be per DEB_HOST_ARCH differences.
Cheers :-)