~ubuntu-branches/ubuntu/natty/pd-zexy/natty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, IOhannes m zmölnig, Jonas Smedegaard
  • Date: 2010-08-20 12:17:41 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100820121741-4kxozn8b9rhee9fr
Tags: 2.2.3-1
* New upstream version

[ IOhannes m zmölnig ]
* Adopt package, on behalf of Multimedia Team.
  Closes: #546964
* Simply debian/rules with CDBS, and don't unconditionally strip
  binaries.
  Closes: #437763
* Install into /usr/lib/pd/extra/zexy/. Document usage in REAME.Debian
  and warn about change in NEWS.
* git'ify package. Add Vcs-* stanzas to control file.
* Use dpkg source format 3.0 (quilt). Drop build-dependency on quilt.

[ Jonas Smedegaard ]
* Enable CDBS copyright-check routine.
* Add copyright and licensing header to debian/rules.
* Add myself as uploader.
* Rewrite debian/copyright using rev. 135 of draft DEP5 format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# -*- mode: makefile; coding: utf-8 -*-
3
 
 
4
 
DEB_TAR_SRCDIR := zexy-2.1/src
5
 
 
6
 
include /usr/share/cdbs/1/rules/tarball.mk
 
3
# Copyright © 2002 Guenter Geiger <geiger@debian.org>
 
4
# Copyright © 2010 IOhannes m zmölnig <zmoelnig@iem.at>
 
5
# Copyright © 2010 Jonas Smedegaard <dr@jones.dk>
 
6
# Description: Main Debian packaging script for zexy
 
7
#
 
8
# This program is free software; you can redistribute it and/or
 
9
# modify it under the terms of the GNU General Public License as
 
10
# published by the Free Software Foundation; either version 2, or (at
 
11
# your option) any later version.
 
12
#
 
13
# This program is distributed in the hope that it will be useful, but
 
14
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
# General Public License for more details.
 
17
#
 
18
# You should have received a copy of the GNU General Public License
 
19
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
 
7
21
include /usr/share/cdbs/1/rules/debhelper.mk
8
22
include /usr/share/cdbs/1/class/autotools.mk
9
 
include /usr/share/cdbs/1/rules/simple-patchsys.mk
10
 
 
11
 
CFLAGS_pd-zexy := -O2 -g -fPIC -Wall
12
 
DEB_MAKE_BUILD_TARGET := all CFLAGS="-O2 -g -DZEXY_LIBRARY -fPIC -Wall"
13
 
DEB_MAKE_INSTALL_TARGET = install PREFIX=`pwd`/debian/pd-zexy/usr/lib/pd
14
 
 
 
23
 
 
24
# Relax inclusion of optional features to ease backporting
 
25
-include /usr/share/cdbs/1/rules/utils.mk
 
26
 
 
27
CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
 
28
CDBS_BUILD_DEPENDS_rules_utils_buildinfo =
 
29
 
 
30
# upstream's way to prevent stripping: override the STRIP command with something
 
31
# harmless, like /usr/bin/true
 
32
STRIP=/bin/true
 
33
export STRIP
 
34
 
 
35
# where sources are
 
36
DEB_SRCDIR = src