~ubuntu-branches/ubuntu/jaunty/ezstream/jaunty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis, Jonas Smedegaard, Romain Beauxis
  • Date: 2008-01-08 22:18:25 UTC
  • Revision ID: james.westby@ubuntu.com-20080108221825-l7h7n3hvr0scaixk
Tags: 0.5.3~dfsg-1
[ Jonas Smedegaard ]
* Add local CDBS tweaks:
  + Add copyright-check-mk to help maintaining debian/copyright file
  + Add buildinfo.mk to aid debugging packaging-specific problems.
* Rewrite debian/copyright to conform to proposed new format at
  http://wiki.debian.org/Proposals/CopyrightFormat .
* Fix name of upstream author () in debian/copyright.
* Include GPL-2 in references to Debian-shared files in
  debian/copyright.
* Improve debian/watch file:
  + Add comment hinting about using uscan
  + Use svn-update (not uupdate)
  + Better indentation

[ Romain Beauxis ]
* Repacked orig tarball to remove file with non-free license.
* Updated standards to 3.7.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
# See debian/README.cdbs-tweaks for info on local overrides
 
4
include debian/cdbs/1/rules/upstream-tarball.mk
 
5
include debian/cdbs/1/rules/copyright-check.mk
 
6
include /usr/share/cdbs/1/class/autotools.mk
 
7
include debian/cdbs/1/rules/buildinfo.mk
 
8
include /usr/share/cdbs/1/rules/debhelper.mk
 
9
 
 
10
# In order to regenerate 'debian/control' :
 
11
#   DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
 
12
# Then check manually if everything's ok
 
13
 
 
14
DEB_UPSTREAM_URL = http://downloads.us.xiph.org/releases/ezstream
 
15
DEB_UPSTREAM_TARBALL_MD5 = a07941d52a4705f8d02c9c9ee6e05750
 
16
 
 
17
build/ezstream::
 
18
        docbook-to-man debian/ezstream.sgml > debian/ezstream.1
 
19
 
 
20
cleanbuilddir/ezstream::
 
21
        rm -f debian/ezstream.1
 
22
 
 
23
install/ezstream::
 
24
        find debian/ezstream -depth \( -name "COPYING" \) -exec rm -rf {} \;
 
25
        mv $(CURDIR)/debian/ezstream/usr/share/examples\
 
26
                $(CURDIR)/debian/ezstream/usr/share/doc/ezstream/examples
 
27
 
 
28
# Upstream requirements
 
29
CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libogg-dev (>> 1.1.0), libshout3-dev (>= 2.0-9), libvorbis-dev (>> 1.0.1), libxml2-dev (>= 2.6.11)
 
30
 
 
31
# Packaging requirements
 
32
CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), docbook-to-man
 
33
 
 
34
# Fix double cdbs build-dependencies
 
35
CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27-1\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//')