File: rules

package info (click to toggle)
arts 1.5.9-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,436 kB
  • ctags: 9,848
  • sloc: ansic: 44,670; cpp: 33,776; sh: 10,486; perl: 3,470; makefile: 372; yacc: 347; lex: 160
file content (26 lines) | stat: -rwxr-xr-x 862 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk

DEB_CONFIGURE_EXTRA_FLAGS := --enable-static --with-alsa
#DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed"
DEB_DH_STRIP_ARGS := --dbg-package=arts-dbg

PACKAGES_WITH_LIBS := libarts1c2a libartsc0

DEB_DH_MAKESHLIBS_ARGS_libarts1c2a	:= -V'libarts1c2a (>= 1.5.9)'
DEB_DH_MAKESHLIBS_ARGS_libartsc0	:= -V'libartsc0 (>= 1.5.9)'

#shlibs_ver = 1.5.0-1
#$(foreach p,$(PACKAGES_WITH_LIBS),$(eval DEB_DH_MAKESHLIBS_ARGS_$(p) := -V'$(p) (>= $(shlibs_ver))'))

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

binary-predeb/libarts1-dev::
ifeq (linux,$(DEB_HOST_ARCH_OS))
	    echo "libasound2-dev=libasound2-dev" >> debian/libarts1-dev.substvars
endif