[SCM] Packaging for QuesoGLC branch, master, updated. 4da947559b51343811c146eb550c1abe31cfc8be
Paul Wise
pabs at debian.org
Mon Aug 15 17:34:40 UTC 2011
The following commit has been merged in the master branch:
commit 4da947559b51343811c146eb550c1abe31cfc8be
Author: Paul Wise <pabs at debian.org>
Date: Mon Aug 15 19:28:38 2011 +0200
Switch to debhelper dh and dh-autoreconf
diff --git a/debian/changelog b/debian/changelog
index 90299d5..ff26626 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ quesoglc (0.7.2-5) UNRELEASED; urgency=low
* Really update VCS URLs to new pkg-games location
* Wrap uploaders, deps and build-deps fields
* Now compliant with latest policy, bump Standards-Version
+ * Switch to debhelper dh and dh-autoreconf
[ أحمد المحمودي (Ahmed El-Mahmoudy) ]
* debian/libglc-dev.install, debian/rules: Remove LA file (Closes: #633291)
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..59cc303
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+NEWS
+examples/Makefile
diff --git a/debian/control b/debian/control
index 34afea9..f7cc91b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,15 +4,14 @@ Priority: optional
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Paul Wise <pabs at debian.org>,
Bradley Smith <bradsmith at debian.org>
-Build-Depends: debhelper (>= 7),
+Build-Depends: debhelper (>= 7.0.50~),
libfreetype6-dev,
libfribidi-dev,
libfontconfig1-dev,
libgl1-mesa-dev | libgl-dev,
libglu1-mesa-dev | libglu-dev,
libglewmx1.6-dev | libglewmx1.5-dev (>= 1.5.1-4),
- autoconf,
- automake
+ dh-autoreconf
Standards-Version: 3.9.2
Homepage: http://quesoglc.sourceforge.net/
Vcs-Browser: http://git.debian.org/?p=pkg-games/quesoglc.git
diff --git a/debian/rules b/debian/rules
index b418041..ccaf701 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,73 +1,22 @@
#!/usr/bin/make -f
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+%:
+ dh $@ --parallel --with autoreconf
-CFLAGS = -Wall -g
-LDFLAGS = -Wl,--as-needed
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- MAKEFLAGS += -j$(NUMJOBS)
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
+override_dh_autoreconf:
touch NEWS
- autoreconf
- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \
- --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
- touch "$@"
-
-build: build-stamp
-build-stamp: configure
- dh_testdir
- $(MAKE)
- touch "$@"
+ dh_autoreconf
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- touch NEWS
- [ ! -f Makefile ] || $(MAKE) maintainer-clean
- rm -rf configure aclocal.m4 autom4te.cache NEWS
+override_dh_auto_configure:
rm -rf src/glew.c src/fribidi
- rm -f Makefile.in */Makefile.in include/qglc_config.hin
- dh_clean
+ dh_auto_configure
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+override_dh_auto_install:
+ dh_auto_install
rm $(CURDIR)/debian/tmp/usr/lib/libGLC.la
-binary-indep: build install
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
+override_dh_install:
dh_install --fail-missing
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps -V "libglc0 (>= 0.7.1)"
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+override_dh_shlibdeps:
+ dh_shlibdeps -V "libglc0 (>= 0.7.1)"
--
Packaging for QuesoGLC
More information about the Pkg-games-commits
mailing list