r16786 - /desktop/experimental/pangomm/debian/rules

manphiz-guest at users.alioth.debian.org manphiz-guest at users.alioth.debian.org
Tue Aug 19 17:45:12 UTC 2008


Author: manphiz-guest
Date: Tue Aug 19 17:45:12 2008
New Revision: 16786

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16786
Log:
Make debian/rules executable.

Added:
    desktop/experimental/pangomm/debian/rules   (with props)

Added: desktop/experimental/pangomm/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pangomm/debian/rules?rev=16786&op=file
==============================================================================
--- desktop/experimental/pangomm/debian/rules (added)
+++ desktop/experimental/pangomm/debian/rules Tue Aug 19 17:45:12 2008
@@ -1,0 +1,31 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
+include /usr/share/gnome-pkg-tools/1/rules/check-dist.mk
+-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
+
+GNOME_MODULE := pangomm
+
+SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libpangomm-[0-9\.]+-[0-9][0-9a-z]*)[[:space:]]*$$/\1/p' debian/control)
+DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libpangomm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control)
+SHVER := 2.13.7
+
+LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-static
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V"$(SHARED_PKG) (>= $(SHVER))"
+DEB_INSTALL_EXAMPLES_$(DOC_PKG) += -XMakefile -X.deps -X.libs -X.o
+
+common-install-impl::
+	# This puts the docs in the proper Debian location without
+	# having to mess around with autotools any more then necessary
+	#mv $(CURDIR)/debian/tmp/usr/share/doc/pangomm-1.4 $(CURDIR)/debian/tmp/usr/share/doc/libpangomm-1.4-doc
+
+	# Blow away the rpath on amd64 :-P
+	chrpath -d $(CURDIR)/debian/tmp/usr/lib/*.so*
+

Propchange: desktop/experimental/pangomm/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the pkg-gnome-commits mailing list