Commit 042838d5 authored by Sven Mueller's avatar Sven Mueller Committed by Mathieu Malaterre

Import Debian changes 1.2.2-4

jpegoptim (1.2.2-4) unstable; urgency=low

  * skip a new revisions to update old instaluations
  * enable dpatch
  * honor DEB_BUILD_OPTIONS
parent 38ee6db4
jpegoptim (1.2.2-4) unstable; urgency=low
* skip a new revisions to update old instaluations
* enable dpatch
* honor DEB_BUILD_OPTIONS
-- Sven Mueller <sven@debian.org> Thu, 7 Dec 2006 18:40:47 +0100
jpegoptim (1.2.2-1) unstable; urgency=low
* Initial Release.
......
......@@ -2,7 +2,7 @@ Source: jpegoptim
Section: graphics
Priority: optional
Maintainer: Sven Mueller <sven@debian.org>
Build-Depends: debhelper (>= 4.0.0), autotools-dev, libjpeg62-dev
Build-Depends: debhelper (>= 4.0.0), autotools-dev, libjpeg62-dev, dpatch
Standards-Version: 3.7.2
Package: jpegoptim
......
#! /bin/sh /usr/share/dpatch/dpatch-run
## 001-fix-64bit-issues.dpatch by Sven Mueller <sven@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad jpegoptim-1.2.2/Makefile.in /tmp/dpep.JAoruw/jpegoptim-1.2.2/Makefile.in
--- jpegoptim-1.2.2/Makefile.in 2002-12-09 02:56:56.000000000 +0100
+++ /tmp/dpep.JAoruw/jpegoptim-1.2.2/Makefile.in 2006-07-25 16:27:11.857447780 +0200
@@ -32,7 +32,7 @@
CC = @CC@
XCPPFLAGS = @CPPFLAGS@
-CFLAGS = @CFLAGS@ $(XCPPFLAGS) $(DEFS)
+CFLAGS = @CFLAGS@ $(XCPPFLAGS) $(DEFS) -Wall
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
STRIP = strip
001-enable-warnings.dpatch
......@@ -24,7 +24,10 @@ else
CFLAGS += -O2
endif
config-stamp: configure
# enable dpatch usage
include /usr/share/dpatch/dpatch.make
config-stamp: configure patch
dh_testdir
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
......@@ -49,7 +52,8 @@ build-stamp: config-stamp
touch build-stamp
clean:
clean: clean-patched unpatch
clean-patched: configure
dh_testdir
# dh_testroot
rm -f build-stamp
......@@ -66,6 +70,9 @@ install: build
dh_installdirs
# Add here commands to install the package into debian/jpegoptim.
if ! echo $(DEB_BUILD_OPTIONS) | grep -q debug ; then \
$(MAKE) strip ; \
fi
$(MAKE) install prefix=$(CURDIR)/debian/jpegoptim/usr
......@@ -81,7 +88,9 @@ binary-arch: build install
dh_installdocs
dh_installman
dh_link
dh_strip
if ! echo "$(DEB_BUILD_OPTIONS)" | grep -q debug ; then \
dh_strip ; \
fi
dh_compress
dh_fixperms
dh_installdeb
......@@ -91,4 +100,4 @@ binary-arch: build install
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
.PHONY: build clean binary-indep binary-arch binary install clean-patched
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment