Subversion Repositories nettle

Compare Revisions

Ignore whitespace Rev 64 → Rev 65

/trunk/debian/changelog
10,8 → 10,16
* Build-depend on the new libgmp10-dev instead of libgmp3-dev.
* Convert to source package format 3.0 (quilt), using
dh_autotools-dev_*config to update config.sub and config.guess files.
* Handle the parallel DEB_BUILD_OPTIONS option.
* Pass --libdir=/usr/lib to ./configure since it will otherwise try to
be smart and pick /usr/lib32 or /usr/lib64 on certain platforms.
* General tidying of debian/rules:
- Remove handling of noopt option (dpkg-buildpackage sets CFLAGS).
- Remove remnants of nostrip option handling.
- Only pass --host to ./configure if HOST != BUILD, as is recommended.
- Remove redundant compiler and configure flags.
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 16 Jan 2011 21:16:45 +0100
-- Magnus Holmgren <holmgren@debian.org> Tue, 18 Jan 2011 23:39:46 +0100
 
nettle (2.0-2) unstable; urgency=low
 
/trunk/debian/rules
11,16 → 11,15
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
CFLAGS = -Wall -g
LDFLAGS = -Wl,--as-needed
 
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
buildflags = --build=$(DEB_BUILD_GNU_TYPE)
else
CFLAGS += -O2
buildflags = --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
endif
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
 
parallel = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
ifneq (,$(parallel))
jobsflag = -j$(parallel)
endif
 
config.status: configure
27,14 → 26,12
dh_testdir
# Add here commands to configure the package.
dh_autotools-dev_updateconfig
./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
./configure $(buildflags) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--libdir=/usr/lib \
--enable-shared \
--disable-dependency-tracking \
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,--as-needed"
 
 
build: build-stamp
42,7 → 39,7
dh_testdir
 
# Add here commands to compile the package.
$(MAKE) MAKEINFO='makeinfo --enable-encoding'
$(MAKE) $(jobsflag) MAKEINFO='makeinfo --enable-encoding'
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) check
endif
86,7 → 83,7
dh_strip -a --dbg-package=nettle-dbg
dh_compress -a -X.pdf
dh_fixperms -a
dh_makeshlibs #-V 'libnettle2 (>= 1.15)'
dh_makeshlibs -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a