debian/control: Standards-Version: 3.7.3 -> 3.8.2, add support of noopt,

nostrip and parallel= in DEB_BUILD_OPTIONS
This commit is contained in:
Ludovic Rousseau 2009-07-28 21:31:13 +00:00
parent bf9eca01fa
commit 704c0f4027
3 changed files with 26 additions and 3 deletions

4
debian/changelog vendored
View File

@ -4,8 +4,10 @@ ccid (1.3.11-1) unstable; urgency=low
* debian/watch: new format
* Fix "Please add Panasonic ZU-9PS" included upstream
(Closes: #537317)
* debian/control: Standards-Version: 3.7.3 -> 3.8.2, add support of noopt,
nostrip and parallel= in DEB_BUILD_OPTIONS
-- Ludovic Rousseau <rousseau@debian.org> Tue, 28 Jul 2009 21:20:43 +0000
-- Ludovic Rousseau <rousseau@debian.org> Tue, 28 Jul 2009 23:22:37 +0200
ccid (1.3.10-1) unstable; urgency=low

2
debian/control vendored
View File

@ -3,7 +3,7 @@ Section: libs
Priority: extra
Maintainer: Ludovic Rousseau <rousseau@debian.org>
Build-Depends: debhelper (>= 5.0.45), libusb-dev (>= 0.1.6a-2.1), libpcsclite-dev (>= 1.3.3), flex, autotools-dev, pkg-config
Standards-Version: 3.7.3
Standards-Version: 3.8.2
Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/ccid/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/collab-maint/deb-maint/ccid/trunk/
Homepage: http://pcsclite.alioth.debian.org/ccid.html

23
debian/rules vendored
View File

@ -17,6 +17,26 @@ else
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
CFLAGS = -Wall -g
INSTALL = install
INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755
INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
configure: configure-stamp
configure-stamp:
dh_testdir
@ -24,7 +44,8 @@ configure-stamp:
./configure $(confflags) \
--prefix=/usr \
--enable-twinserial
--enable-twinserial \
CFLAGS="$(CFLAGS)"
touch configure-stamp