[Pkg-gnupg-commit] r231 - in /gnupg/trunk/debian: changelog rules

thijs at users.alioth.debian.org thijs at users.alioth.debian.org
Mon Apr 9 15:55:21 UTC 2012


Author: thijs
Date: Mon Apr  9 15:55:20 2012
New Revision: 231

URL: http://svn.debian.org/wsvn/pkg-gnupg/?sc=1&rev=231
Log:
Build udebs with --enable-minimal.

Modified:
    gnupg/trunk/debian/changelog
    gnupg/trunk/debian/rules

Modified: gnupg/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnupg/gnupg/trunk/debian/changelog?rev=231&op=diff
==============================================================================
--- gnupg/trunk/debian/changelog (original)
+++ gnupg/trunk/debian/changelog Mon Apr  9 15:55:20 2012
@@ -1,3 +1,9 @@
+gnupg (1.4.12-5) UNRELEASED; urgency=low
+
+  * Build udebs with --enable-minimal.
+
+ -- Thijs Kinkhorst <thijs at debian.org>  Mon, 09 Apr 2012 15:53:21 +0000
+
 gnupg (1.4.12-4) unstable; urgency=low
 
   * Move mingw64 to B-D-I, adjust make targets. This helps debian-ports

Modified: gnupg/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnupg/gnupg/trunk/debian/rules?rev=231&op=diff
==============================================================================
--- gnupg/trunk/debian/rules (original)
+++ gnupg/trunk/debian/rules Mon Apr  9 15:55:20 2012
@@ -19,8 +19,10 @@
 DEB_HOST_ARCH_OS  := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 CONFARGS  = --prefix=/usr --libexecdir=/usr/lib/ \
-            --enable-mailto --with-mailprog=/usr/sbin/sendmail \
             --enable-noexecstack
+
+CONFARGS_FULL    = --enable-mailto --with-mailprog=/usr/sbin/sendmail
+CONFARGS_MINIMAL = --enable-minimal --disable-nls --disable-regex --disable-gnupg-iconv --disable-gettext --without-iconv --without-readline --without-zlib
 
 ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 HOSTARG += --host=$(DEB_HOST_GNU_TYPE)
@@ -41,24 +43,22 @@
 build-deb/config.status:
 	dh_testdir
 	(mkdir -p $(@D); cd $(@D); \
-	    ../configure LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS_DEF)" CFLAGS="$(CFLAGS_DEF)" $(CONFARGS) $(HOSTARG) --without-libcurl)
+	    ../configure LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS_DEF)" CFLAGS="$(CFLAGS_DEF)" $(CONFARGS) $(CONFARGS_FULL) $(HOSTARG) --without-libcurl)
 
 build-deb-curl/config.status:
 	dh_testdir
 	(mkdir -p $(@D); cd $(@D); \
-	    ../configure LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS_DEF)" CFLAGS="$(CFLAGS_DEF)" $(CONFARGS) $(HOSTARG))
+	    ../configure LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS_DEF)" CFLAGS="$(CFLAGS_DEF)" $(CONFARGS) $(CONFARGS_FULL) $(HOSTARG))
 
 build-udeb/config.status:
 	dh_testdir
 	(mkdir -p $(@D); cd $(@D); CFLAGS="-g -Os" \
-	    ../configure $(CONFARGS) $(HOSTARG) \
-	    --without-bzip2 --without-readline --without-libcurl)
+	    ../configure $(CONFARGS) $(CONFARGS_MINIMAL) $(HOSTARG) )
 
 build-win32/config.status:
 	dh_testdir
 	(mkdir -p $(@D); cd $(@D); CFLAGS="-g -Os" \
-	    ../configure $(CONFARGS) --host i686-w64-mingw32 \
-	    --disable-gnupg-iconv --without-bzip2 --without-readline --without-libcurl --disable-ldap)
+	    ../configure $(CONFARGS) $(CONFARGS_MINIMAL) --host i686-w64-mingw32 )
 
 ##################################### build ##################################
 




More information about the Pkg-gnupg-commit mailing list