r17566 - /desktop/experimental/ekiga/debian/rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Fri Nov 14 14:27:05 UTC 2008
Author: lool
Date: Fri Nov 14 14:27:05 2008
New Revision: 17566
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17566
Log:
CLeanup rules further.
Modified:
desktop/experimental/ekiga/debian/rules
Modified: desktop/experimental/ekiga/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/ekiga/debian/rules?rev=17566&op=diff
==============================================================================
--- desktop/experimental/ekiga/debian/rules (original)
+++ desktop/experimental/ekiga/debian/rules Fri Nov 14 14:27:05 2008
@@ -9,33 +9,29 @@
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
-DEBVERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-UPVERSION := $(shell echo $(DEBVERSION) | sed -r -e 's/^.*://; s/-[0-9.]*(\+b[0-9])?$$//; s/.dfsg[0-9]*$$//')
-UPFILENAME := ekiga_$(UPVERSION).orig.tar.gz
-URL := http://ftp.gnome.org/pub/gnome/sources/ekiga/3.0/ekiga-$(UPVERSION).tar.gz
-
include /usr/share/dpatch/dpatch.make
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
-
-#URL := http://www.ekiga.net/misc/ekiga-$(UPVERSION).tar.gz
CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
CXXFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
# --as-needed is relatively risky and should be added with -z defs if possible
LDFLAGS += -Wl,-z,defs -Wl,--as-needed
+confflags += \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-schemas-install \
+ --disable-scrollkeeper
+
config.status: patch-stamp
dh_testdir
rm -f config.cache
#rm -rf build-gtkonly
#mkdir build-gtkonly
- #cd build-gtkonly ; ./autogen.sh $(confflags) --prefix=/usr \
- # --sysconfdir=/etc --disable-schemas-install --disable-scrollkeeper \
- # --disable-gnome
+ #cd build-gtkonly ; ./autogen.sh $(confflags) --disable-gnome
CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
- ./configure $(confflags) --prefix=/usr \
- --sysconfdir=/etc --disable-schemas-install --disable-scrollkeeper
+ ./configure $(confflags)
touch $@
build: build-stamp
@@ -108,7 +104,7 @@
dh_link
dh_strip --dbg-package=ekiga-dbg
dh_compress
- # symlink identical Gnome help files within packages
+ # symlink identical GNOME help files within packages
for p in $$(dh_listpackages); do \
if [ -d debian/$$p/usr/share/gnome/help ]; then \
(cd debian/$$p && LC_ALL=C fdupes -r1nq usr/share/gnome/help \
@@ -131,12 +127,5 @@
dh_md5sums
dh_builddeb
-get-orig-source:
- @@dh_testdir
- @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
- @@echo Downloading $(UPVERSION) ...
- @@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
- @@echo Ready for packaging.
-
binary: binary-indep binary-arch
.PHONY: build clean clean-patched binary-indep binary-arch binary install patch
More information about the pkg-gnome-commits
mailing list