katie/package/debian/rules
Ivailo Monev 15be073317 support suffixed tools and package them as such
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2017-04-27 01:57:57 +00:00

25 lines
645 B
Makefile
Executable file

#!/usr/bin/make -f
# a dirty way to make dh_shlibdeps find the libraries, if you have better
# solution I'd welcome it
export LD_LIBRARY_PATH := $(shell pwd)/obj-$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)/lib:$(LD_LIBRARY_PATH)
%:
dh $@
override_dh_auto_configure:
# the mysqld library is not much of a static
dh_auto_configure -- -DMYSQL_LIBRARIES:STRING="-lmysqld -lcrypt -laio" \
-Wno-dev \
-DKATIE_LDCONF_FULL=/etc/ld.so.conf.d \
-DKATIE_PROFILE_FULL=/etc/profile.d \
-DKATIE_TOOLS_SUFFIX="-katie"
override_dh_auto_build:
dh_auto_build
override_dh_auto_install:
dh_auto_install
override_dh_auto_clean:
dh_auto_clean