File: rules

package info (click to toggle)
akode 2.0.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,912 kB
  • ctags: 1,319
  • sloc: sh: 9,889; cpp: 8,759; perl: 2,773; makefile: 135
file content (29 lines) | stat: -rwxr-xr-x 1,118 bytes parent folder | download | duplicates (2)
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
27
28
29
#! /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_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifeq (linux,$(DEB_HOST_ARCH_OS))
DEB_DH_GENCONTROL_ARGS=-- -Valsa-dev=libasound2-dev
endif

DEB_CONFIGURE_EXTRA_FLAGS := --without-libltdl --without-polypaudio --with-extra-includes=/usr/include/speex/

DEB_DH_STRIP_ARGS  := --dbg-package=akode-dbg

PACKAGES_WITH_LIBS := libakode2

DEB_DH_MAKESHLIBS_ARGS_libakode2 := -V'libakode2 (>= 2-rc1-1)'


common-install-prehook-arch::
	grep -v libakode_alsa_sink debian/libakode2.install > debian/libakode2.install.kfreebsd-i386
	grep -v libakode_alsa_sink debian/libakode2.install > debian/libakode2.install.kfreebsd-amd64
	grep -v libakode_alsa_sink debian/libakode-dev.install > debian/libakode-dev.install.kfreebsd-i386
	grep -v libakode_alsa_sink debian/libakode-dev.install > debian/libakode-dev.install.kfreebsd-amd64

clean::
	rm -f debian/libakode2.install.kfreebsd* debian/libakode-dev.install.kfreebsd*