~ubuntu-branches/ubuntu/lucid/nspluginwrapper/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Sasa Bodiroza
  • Date: 2008-08-28 00:48:30 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828004830-f3m3fjnqlqt2r6dh
Tags: 1.1.0-0ubuntu1
Add libcurl4-gnutls-dev as build-depenedency

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        CFLAGS += -O2
24
24
endif
25
25
 
26
 
configure: patch configure-stamp
27
 
configure-stamp:
28
 
        dh_testdir
29
 
        ./configure --host=$(DEB_HOST_GNU_TYPE) \
30
 
                --build=$(DEB_BUILD_GNU_TYPE) \
31
 
                --prefix=/usr \
 
26
CONFIG_FLAGS = \
 
27
        --host=$(DEB_HOST_GNU_TYPE) \
 
28
        --build=$(DEB_BUILD_GNU_TYPE) \
 
29
        --prefix=/usr \
 
30
        $(NULL)
 
31
 
 
32
ifneq (,$(findstring x86_64,$(DEB_HOST_GNU_TYPE)))
 
33
CONFIG_FLAGS += \
32
34
                --with-lib32=lib32 \
33
35
                --with-lib64=lib \
34
36
                --biarch \
 
37
                $(NULL)
 
38
endif
 
39
 
 
40
 
 
41
configure: patch configure-stamp
 
42
configure-stamp:
 
43
        dh_testdir
 
44
        ./configure  $(CONFIG_FLAGS) \
35
45
                CFLAGS="$(CFLAGS)" \
36
46
                LDFLAGS="-Wl,-z,defs"
37
47
        touch $@
47
57
        dh_testdir
48
58
        dh_testroot
49
59
        rm -f build-stamp configure-stamp
50
 
        -$(MAKE) distclean
 
60
        [ ! -f Makefile ] || $(MAKE) distclean
51
61
        dh_clean
52
62
 
53
63
install: build
69
79
        dh_installchangelogs ChangeLog
70
80
        dh_installdocs
71
81
        dh_installexamples
72
 
        dh_installman debian/nspluginwrapper.1
 
82
        dh_installman debian/nspluginwrapper.1 debian/nspluginplayer.1
73
83
        dh_link
74
84
        dh_strip
75
85
        dh_compress