Superseded former way of managing patches for kaffeine-mozilla on Debian and Ubuntu

v3.5.13-sru
Slávek Banko 12 years ago
parent 7a6827695d
commit f4dab42294

@ -3,7 +3,7 @@ Section: web
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Riku Voipio <riku.voipio@iki.fi>
Build-Depends: debhelper (>= 4.0.0), libxaw7-dev, libnspr4-dev, automake, autoconf, libtool, libltdl-dev
Build-Depends: debhelper (>= 4.0.0), quilt, libxaw7-dev, libnspr4-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kaffeine-mozilla-trinity

@ -44,26 +44,6 @@ config.status:
autoconf
automake
# Apply Debian specific patches
if test -d $(CURDIR)/debian/patches ;\
then \
for i in $(CURDIR)/debian/patches/*.diff.uu ;\
do \
cd $(CURDIR)/debian/patches ;\
uudecode "$$i" ;\
cd $(CURDIR) ;\
done ;\
patches=$$(find $(CURDIR)/debian/patches -name *.diff | sort);\
fi ;\
if test ! -f patch-stamp; then \
for patch in $$patches ;\
do \
echo APPLYING PATCH\: "$${patch##*/}" ;\
patch -p1 < "$$patch" ;\
done ;\
touch patch-stamp ;\
fi
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/opt/trinity --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
@ -96,24 +76,6 @@ clean:
# Add here commands to clean up after the build process.
# Remove Debian specific patches
if test -d $(CURDIR)/debian/patches ;\
then \
patches=$$(find $(CURDIR)/debian/patches -name *.diff | sort -r);\
fi ;\
if test -f patch-stamp; then \
for patch in $$patches ;\
do \
echo REMOVING PATCH\: "$${patch##*/}" ;\
patch -p1 -R < "$$patch" ;\
done ;\
for i in $(CURDIR)/debian/patches/*.diff.uu ;\
do \
rm -f "$${i%%.uu}" ;\
done ;\
rm -f patch-stamp ;\
fi
-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub

@ -3,7 +3,7 @@ Section: web
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Riku Voipio <riku.voipio@iki.fi>
Build-Depends: debhelper (>= 4.0.0), libxaw7-dev, libnspr4-dev, automake, autoconf, libtool, libltdl-dev
Build-Depends: debhelper (>= 4.0.0), quilt, libxaw7-dev, libnspr4-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kaffeine-mozilla-trinity

@ -44,26 +44,6 @@ config.status:
autoconf
automake
# Apply Debian specific patches
if test -d $(CURDIR)/debian/patches ;\
then \
for i in $(CURDIR)/debian/patches/*.diff.uu ;\
do \
cd $(CURDIR)/debian/patches ;\
uudecode "$$i" ;\
cd $(CURDIR) ;\
done ;\
patches=$$(find $(CURDIR)/debian/patches -name *.diff | sort);\
fi ;\
if test ! -f patch-stamp; then \
for patch in $$patches ;\
do \
echo APPLYING PATCH\: "$${patch##*/}" ;\
patch -p1 < "$$patch" ;\
done ;\
touch patch-stamp ;\
fi
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/opt/trinity --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
@ -96,24 +76,6 @@ clean:
# Add here commands to clean up after the build process.
# Remove Debian specific patches
if test -d $(CURDIR)/debian/patches ;\
then \
patches=$$(find $(CURDIR)/debian/patches -name *.diff | sort -r);\
fi ;\
if test -f patch-stamp; then \
for patch in $$patches ;\
do \
echo REMOVING PATCH\: "$${patch##*/}" ;\
patch -p1 -R < "$$patch" ;\
done ;\
for i in $(CURDIR)/debian/patches/*.diff.uu ;\
do \
rm -f "$${i%%.uu}" ;\
done ;\
rm -f patch-stamp ;\
fi
-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub

Loading…
Cancel
Save