shithub: sox

ref: 4d66e4349078b72983ec62c77339ad4ee0ab5a05
dir: /debian/rules/

View raw version
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

DEB_TAR_SRCDIR := sox-14.1.0

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.*