~ubuntu-branches/ubuntu/trusty/tclcurl/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Sven Hoexter
  • Date: 2012-06-02 20:48:44 UTC
  • mfrom: (1.2.9) (4.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20120602204844-vi72mu1if5trqssn
Tags: 7.22.0-1
* New upstream release
  + Remove debian/patches/deprecated-curl-types - fixed upstream.
  + Build-depend on libcurl4-gnutls-dev (>= 7.22.0).
  + Refresh all patches.
* Remove overrides for dh_clean and dh_installexamples. All the
  build artefacts which required special handling are no longer
  included in the upstream tarball.
* Switch to dh compat level 9, build-depend on debhelper (>= 9).
* Switch LDFLAGS to DEB_LDFLAGS_MAINT_PREPEND.
* Change Standards-Version to 3.9.3 - no changes required.
* Update copyright year and download location in debian/copyright.
* Update homepage in debian/watch and debian/control.
* Continue to move the libs to /usr/lib/tcltk/ for now against
  the will of the buildsystem. Original installation path is
  now architecture dependend.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Uncomment this to turn on verbose mode.
4
4
#export DH_VERBOSE=1
5
5
 
6
 
LDFLAGS += -Wl,-z,defs -Wl,--as-needed
 
6
export DEB_LDFLAGS_MAINT_PREPEND := -Wl,-z,defs -Wl,--as-needed
 
7
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
7
8
 
8
9
%:
9
10
        dh $@ --with quilt
10
11
 
11
 
override_dh_clean:
12
 
        dh_clean -Xautom4te.cache -Xtests/a.tcl~
13
 
 
14
12
override_dh_auto_configure:
15
13
        dh_auto_configure -- \
16
14
                --prefix=/usr \
24
22
        dh_auto_install --destdir=$(CURDIR)/debian/tclcurl
25
23
 
26
24
        mkdir $(CURDIR)/debian/tclcurl/usr/lib/tcltk
27
 
        mv $(CURDIR)/debian/tclcurl/usr/lib/TclCurl* \
 
25
        mv $(CURDIR)/debian/tclcurl/usr/lib/$(DEB_HOST_MULTIARCH)/TclCurl* \
28
26
                $(CURDIR)/debian/tclcurl/usr/lib/tcltk
29
27
        rm -rf \
30
28
                $(CURDIR)/debian/tclcurl/usr/share/man/mann \
31
29
                $(CURDIR)/debian/tclcurl/usr/bin \
32
 
                $(CURDIR)/debian/tclcurl/usr/include
 
30
                $(CURDIR)/debian/tclcurl/usr/include \
 
31
                $(CURDIR)/debian/tclcurl/usr/lib/$(DEB_HOST_MULTIARCH)
33
32
 
34
33
        chmod 644 \
35
34
                $(CURDIR)/tests/*.tcl \
38
37
 
39
38
override_dh_auto_test:
40
39
 
41
 
override_dh_installexamples:
42
 
        dh_installexamples -Xa.tcl~
43
 
 
44
40
override_dh_makeshlibs:
45
41
        dh_makeshlibs
46
42
        tcltk-depends