Codebase list laptop-detect / bd2ed74
Use architecture specific dependencies to depends on dmidecode Otavio Salvador 16 years ago
3 changed file(s) with 8 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
0 laptop-detect (0.13.2) UNRELEASED; urgency=low
1
2 * Drop the hack used during the package building and use dependencies
3 architeture specific handling for it.
4
5 -- Otavio Salvador <otavio@debian.org> Mon, 28 May 2007 09:00:23 -0300
6
07 laptop-detect (0.13.1) unstable; urgency=low
18
29 * Change package priority to important to match override.
77
88 Package: laptop-detect
99 Architecture: any
10 Depends: ${dmidecode-depends}
10 Depends: dmidecode [amd64 i386]
1111 Description: attempt to detect a laptop
1212 Laptop mode attempts to determine whether it is being run on a laptop or a
1313 desktop and appraises its caller of this.
00 #!/usr/bin/make -f
11
22 include /usr/share/cdbs/1/rules/debhelper.mk
3
4 # FIXME: Drop this ugly hack and convert to arch all once dpkg
5 # supports architecture specific dependencies.
6 DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
7 ifeq ($(DEB_HOST_ARCH),i386)
8 DEB_DH_GENCONTROL_ARGS := -- -Vdmidecode-depends=dmidecode
9 endif
10 ifeq ($(DEB_HOST_ARCH),amd64)
11 DEB_DH_GENCONTROL_ARGS := -- -Vdmidecode-depends=dmidecode
12 endif
133
144 VERSION=$(shell dpkg-parsechangelog \
155 | grep Version: \