specific cdbs makefile for kde 4

Fathi Boudra fboudra at free.fr
Sat Aug 4 19:34:08 UTC 2007


hi,

i'm not convinced by current specific cdbs files (cmake.mk,  kde.mk  and 
utils.mk) used for kde4.

Using single cmake.mk submitted on #377524 (used by every kde-extras packages) 
and a rules file (around 10 lines and attached), i have builded 
kdelibs/kdepimlibs/kdebase without problems.

i found a "10 lines" rules more readable and easy to fix versus a bunch of 
files touching every KDE4 packages.

so i would like to have some feedbacks on this point, pros/cons, point of 
view, whatever...

cheers,

Fathi
-------------- next part --------------
#!/usr/bin/make -f

#include debian/cdbs/kde.mk

include debian/cdbs/cmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk

DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
DEB_CMAKE_EXTRA_FLAGS = -DCMAKE_SKIP_RPATH=true \
			-DCONFIG_INSTALL_DIR=/etc/kde4 \
			-DDATA_INSTALL_DIR=/usr/share/kde4/apps \
			-DHTML_INSTALL_DIR=/usr/share/doc/kde4/HTML \
			-DKCFG_INSTALL_DIR=/usr/share/kde4/config.kcfg \
			-DLIB_INSTALL_DIR=/usr/lib \
			-DSYSCONF_INSTALL_DIR=/etc

#DEB_CMAKE_PREFIX = /usr/lib/kde4
DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
#DEB_DH_SHLIBDEPS_ARGS = -l/usr/lib/kde4/lib/
#DEB_MAKE_ENVVARS += XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share
#DEB_STRIP_EXCLUDE = so



More information about the pkg-kde-talk mailing list