source: pkg/vinnie/main/gtkhtml3.14/trunk/debian/rules @ 6660

Revision 6660, 1.3 KB checked in by alanbach-guest, 3 years ago (diff)
  • Sync'd with Debian 3.30.2-1
  • Property svn:executable set to *
Line 
1#!/usr/bin/make -f
2
3include /usr/share/cdbs/1/rules/debhelper.mk
4include /usr/share/cdbs/1/class/autotools.mk
5include /usr/share/cdbs/1/class/gnome.mk
6include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
7
8GNOME_MODULE := gtkhtml
9
10CURRENT   := $(shell sed -n 's/^GTKHTML_CURRENT=//p' configure.ac)
11AGE       := $(shell sed -n 's/^GTKHTML_AGE=//p' configure.ac)
12REVISION  := $(shell sed -n 's/^GTKHTML_REVISION=//p' configure.ac)
13SOVERSION := $(shell expr $(CURRENT) - $(AGE))
14API_VER   := 3.14
15
16DEB_CONFIGURE_EXTRA_FLAGS += --enable-static
17DEB_SHLIBDEPS_INCLUDE_gtkhtml$(API_VER) += $(CURDIR)/debian/libgtkhtml$(API_VER)-$(SOVERSION)/usr/lib
18DEB_DH_MAKESHLIBS_ARGS_gtkhtml$(API_VER) += --noscripts
19DEB_SHLIBDEPS_INCLUDE_libgtkhtml$(API_VER)-dev += $(CURDIR)/debian/libgtkhtml$(API_VER)-$(SOVERSION)/usr/lib
20DEB_DH_MAKESHLIBS_ARGS_libgtkhtml$(API_VER)-$(SOVERSION) += -V 'libgtkhtml$(API_VER)-$(SOVERSION) (>= $(DEB_UPSTREAM_VERSION))'
21
22binary-post-install/libgtkhtml$(API_VER)-$(SOVERSION)::
23        chrpath -d -k \
24        $(CURDIR)/debian/libgtkhtml$(API_VER)-$(SOVERSION)/usr/lib/libgtkhtml-$(API_VER).so.$(SOVERSION).$(AGE).$(REVISION)
25
26binary-post-install/libgtkhtml-editor0::
27        chrpath -d -k $(CURDIR)/debian/libgtkhtml-editor0/usr/lib/libgtkhtml-editor.so.0.0.0
28
29common-binary-post-install-indep::
30        dh_bugfiles -A
Note: See TracBrowser for help on using the repository browser.