File: rules

package info (click to toggle)
sox 14.0.1-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,028 kB
  • ctags: 3
  • sloc: makefile: 14
file content (23 lines) | stat: -rwxr-xr-x 683 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

DEB_TAR_SRCDIR := sox-14.0.1

include /usr/share/cdbs/1/rules/tarball.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

CFLAGS += -D_REENTRANT
DEB_CONFIGURE_EXTRA_FLAGS := --disable-lame
# Takes care of postinst-has-useless-call-to-ldconfig for libsox-fmt-*
DEB_DH_MAKESHLIBS_ARGS := -Xfmt

binary-post-install/sox::
	chrpath -d debian/sox/usr/bin/sox

binary-post-install/libsox0::
	chrpath -d debian/libsox0/usr/lib/lib*.so.*

binary-post-install/libsox-fmt-all::
	chrpath -d debian/libsox-fmt-*/usr/lib/sox/libsox_fmt_*.so.*