2
2
# -*- mode: makefile; coding: utf-8 -*-
4
DEB_TAR_SRCDIR := zexy-2.1/src
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
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.
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.
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/>.
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
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
24
# Relax inclusion of optional features to ease backporting
25
-include /usr/share/cdbs/1/rules/utils.mk
27
CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
28
CDBS_BUILD_DEPENDS_rules_utils_buildinfo =
30
# upstream's way to prevent stripping: override the STRIP command with something
31
# harmless, like /usr/bin/true