/trunk/debian/source/format |
---|
File deleted |
/trunk/debian/changelog |
---|
8,10 → 8,8 |
respectively; update and rename debian/control, debian/libnettle3.*, |
debian/libhogweed1.*, and debian/nettle-bin.links accordingly. |
* 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. |
-- Magnus Holmgren <holmgren@debian.org> Sun, 16 Jan 2011 21:16:45 +0100 |
-- Magnus Holmgren <holmgren@debian.org> Sun, 16 Jan 2011 20:55:06 +0100 |
nettle (2.0-2) unstable; urgency=low |
/trunk/debian/control |
---|
2,7 → 2,7 |
Section: libs |
Priority: optional |
Maintainer: Magnus Holmgren <holmgren@debian.org> |
Build-Depends: debhelper (>= 5), libgmp10-dev, m4, autotools-dev (>= 20100122.1) |
Build-Depends: debhelper (>= 5), libgmp10-dev, m4, autotools-dev, dpatch |
Standards-Version: 3.8.3 |
Vcs-Svn: svn://svn.kibibyte.se/nettle/trunk |
Vcs-Browser: http://svn.kibibyte.se/nettle |
/trunk/debian/patches/00list |
---|
0,0 → 1,0 |
01_config |
/trunk/debian/patches/01_config.dpatch |
---|
0,0 → 1,28 |
#! /bin/sh -e |
## config.dpatch |
## Ralf Treinen <treinen@debian.org> |
## |
## All lines beginning with `## DP:' are a description of the patch. |
## DP: replace all config.{guess,sub} by the vesion installed in |
## DP: /usr/share/misc |
dpatch_patch () |
{ |
find . -name config.guess -o -name config.sub \ |
| tar cf debian/patched/config.guess+sub.tar -T - |
find . -name config.guess \ |
-exec ln -sf /usr/share/misc/config.guess '{}' \; |
find . -name config.sub \ |
-exec ln -sf /usr/share/misc/config.sub '{}' \; |
} |
dpatch_unpatch () |
{ |
tar xf debian/patched/config.guess+sub.tar |
} |
DPATCH_LIB_NO_DEFAULT=1 |
. /usr/share/dpatch/dpatch.lib.sh |
# arch-tag: 8a610a57-687b-4395-8ff2-79265c0a4eb3 |
/trunk/debian/rules |
---|
5,6 → 5,7 |
# Uncomment this to turn on verbose mode. |
#export DH_VERBOSE=1 |
include /usr/share/dpatch/dpatch.make |
# These are used for cross-compiling and for saving the configure script |
# from having to guess our platform (since we know it already) |
11,6 → 12,7 |
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 |
23,10 → 25,9 |
INSTALL_PROGRAM += -s |
endif |
config.status: configure |
config.status: ${DPATCH_STAMPFN} configure |
dh_testdir |
# Add here commands to configure the package. |
dh_autotools-dev_updateconfig |
./configure --host=$(DEB_HOST_GNU_TYPE) \ |
--build=$(DEB_BUILD_GNU_TYPE) \ |
--prefix=/usr \ |
49,7 → 50,10 |
touch build-stamp |
clean: |
clean: clean-patched unpatch |
dh_clean |
clean-patched: |
dh_testdir |
dh_testroot |
rm -f build-stamp |
56,8 → 60,6 |
# Add here commands to clean up after the build process. |
[ ! -f Makefile ] || $(MAKE) distclean |
dh_autotools-dev_restoreconfig |
dh_clean |
install: build |
dh_testdir |