You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
5.5 KiB
123 lines
5.5 KiB
5 years ago
|
#!/usr/bin/make -f
|
||
|
|
||
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||
|
include /usr/share/cdbs/1/class/cmake.mk
|
||
|
include debian/cdbs/debian-tde.mk
|
||
|
|
||
|
DEB_CONFIGURE_INCLUDEDIR := /usr/include
|
||
|
DEB_CONFIGURE_MANDIR := /usr/share/man
|
||
|
DEB_CONFIGURE_PREFIX := /usr
|
||
|
DEB_CONFIGURE_INFODIR := /usr/share/info
|
||
|
|
||
|
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
|
||
|
|
||
|
DEB_DH_STRIP_ARGS := --dbg-package=tdesdk-trinity-dbg
|
||
|
|
||
|
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||
|
&& echo xz || echo bzip2)
|
||
|
|
||
|
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --with-extra-libs=/usr/lib
|
||
|
|
||
|
DEB_CMAKE_EXTRA_FLAGS := \
|
||
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||
|
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||
|
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||
|
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||
|
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||
|
-DCMAKE_SKIP_RPATH="OFF" \
|
||
|
-DBUILD_ALL="ON" \
|
||
|
-DWITH_DBSEARCHENGINE="ON" \
|
||
|
-DWITH_KCAL="ON" \
|
||
|
-DCMAKE_C_COMPILER=gcc \
|
||
|
-DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" \
|
||
|
-DBUILD_KMTRACE="OFF"
|
||
|
|
||
|
PACKAGES_WITH_LIBS := kbabel-trinity kompare-trinity kspy-trinity tdeunittest-trinity libcvsservice0-trinity umbrello-trinity
|
||
|
|
||
|
#shlibs_ver = 4:3.5.0-1
|
||
|
#$(foreach p,$(PACKAGES_WITH_LIBS),$(eval DEB_DH_MAKESHLIBS_ARGS_$(p) := -V'$(p) (>= $(shlibs_ver))'))
|
||
|
|
||
|
DEB_INSTALL_CHANGELOGS_cervisia-trinity := cervisia/ChangeLog
|
||
|
DEB_INSTALL_CHANGELOGS_kapptemplate-trinity := kapptemplate/ChangeLog
|
||
|
DEB_INSTALL_CHANGELOGS_kbabel-trinity := kbabel/ChangeLog
|
||
|
DEB_INSTALL_CHANGELOGS_tdecachegrind-trinity := tdecachegrind/ChangeLog
|
||
|
DEB_INSTALL_CHANGELOGS_kompare-trinity := kompare/ChangeLog
|
||
|
DEB_INSTALL_CHANGELOGS_umbrello-trinity := umbrello/ChangeLog
|
||
|
|
||
|
binary-install/tdesdk-scripts-trinity::
|
||
|
# mv -f debian/tdesdk-scripts-trinity/usr/share/man/pl/man1/kdemangen.1 \
|
||
|
# debian/tdesdk-scripts-trinity/usr/share/man/man1/kdemangen.pl.1
|
||
|
# mv -f debian/tdesdk-scripts-trinity/usr/share/man/pl/man1/png2mng.1 \
|
||
|
# debian/tdesdk-scripts-trinity/usr/share/man/man1/png2mng.pl.1
|
||
|
# mv -f debian/tdesdk-scripts-trinity/usr/share/man/py/man1/kdelnk2desktop.1 \
|
||
|
# debian/tdesdk-scripts-trinity/usr/share/man/man1/kdelnk2desktop.py.1
|
||
|
# mv -f debian/tdesdk-scripts-trinity/usr/share/man/py/man1/zonetab2pot.1 \
|
||
|
# debian/tdesdk-scripts-trinity/usr/share/man/man1/zonetab2pot.py.1
|
||
|
# mv -f debian/tdesdk-scripts-trinity/usr/share/man/sh/man1/build-progress.1 \
|
||
|
# debian/tdesdk-scripts-trinity/usr/share/man/man1/build-progress.sh.1
|
||
|
# mv -f debian/tdesdk-scripts-trinity/usr/bin/svn-clean \
|
||
|
# debian/tdesdk-scripts-trinity/usr/bin/svn-clean-kde
|
||
|
# mv -f debian/tdesdk-scripts-trinity/usr/bin/svnversions \
|
||
|
# debian/tdesdk-scripts-trinity/usr/bin/svnversion-kde
|
||
|
rm -rf debian/tdesdk-scripts-trinity/usr/share/man/pl
|
||
|
rm -rf debian/tdesdk-scripts-trinity/usr/share/man/py
|
||
|
rm -rf debian/tdesdk-scripts-trinity/usr/share/man/sh
|
||
|
# mv debian/tdesdk-scripts-trinity/usr/share/man/man1/* debian/tdesdk-scripts-trinity/usr/share/man/man1/
|
||
|
rm -rf debian/tdesdk-scripts-trinity/usr/share/man
|
||
|
install -p -D -m644 scripts/kde-buildrc \
|
||
|
debian/tdesdk-scripts-trinity/usr/share/doc/tdesdk-scripts-trinity/kde-buildrc.example
|
||
|
|
||
|
binary-install/tdesdk-misc-trinity::
|
||
|
install -p -D -m644 kdeaccounts-plugin/README \
|
||
|
debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/README.kdeaccounts-plugin
|
||
|
install -p -D -m644 tdeioslave/svn/AUTHORS \
|
||
|
debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/AUTHORS.tdeioslave-svn
|
||
|
install -p -D -m644 tdeioslave/svn/README \
|
||
|
debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/README.tdeioslave-svn
|
||
|
install -p -D -m644 kprofilemethod/README \
|
||
|
debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/README.kprofilemethod
|
||
|
install -p -D -m644 scheck/README \
|
||
|
debian/tdesdk-misc-trinity/usr/share/doc/tdesdk-misc/README.scheck
|
||
|
|
||
|
binary-install/kapptemplate-trinity::
|
||
|
rm -f debian/kapptemplate-trinity/usr/share/apps/kapptemplate/admin/*.cdbs-orig
|
||
|
for admindirfile in compile config.guess config.sub debianrules depcomp detect-autoconf.pl \
|
||
|
Doxyfile.global install-sh missing mkinstalldirs nmcheck ylwrap; do \
|
||
|
chmod 755 debian/kapptemplate-trinity/usr/share/apps/kapptemplate/admin/$$admindirfile; \
|
||
|
done
|
||
|
# mv debian/kapptemplate-trinity/usr/share/man debian/kapptemplate-trinity/usr/share/
|
||
|
|
||
|
#binary-install/kbabel-trinity::
|
||
|
# mv debian/kbabel-trinity/usr/share/man debian/kbabel-trinity/usr/share/
|
||
|
|
||
|
#binary-install/kbugbuster-trinity::
|
||
|
# mv debian/kbugbuster-trinity/usr/share/man debian/kbugbuster-trinity/usr/share/
|
||
|
|
||
|
#binary-install/kmtrace-trinity::
|
||
|
# mv debian/kmtrace-trinity/usr/share/man debian/kmtrace-trinity/usr/share/
|
||
|
|
||
|
#binary-install/kompare-trinity::
|
||
|
# mv debian/kompare-trinity/usr/share/man debian/kompare-trinity/usr/share/
|
||
|
|
||
|
#binary-install/kspy-trinity::
|
||
|
# mv debian/kspy-trinity/usr/share/man debian/kspy-trinity/usr/share/
|
||
|
|
||
|
#binary-install/kuiviewer-trinity::
|
||
|
# mv debian/kuiviewer-trinity/usr/share/man debian/kuiviewer-trinity/usr/share/
|
||
|
|
||
|
#binary-install/libcvsservice0-trinity::
|
||
|
# mv debian/libcvsservice0-trinity/usr/share/man debian/libcvsservice0-trinity/usr/share/
|
||
|
|
||
|
#binary-install/poxml-trinity::
|
||
|
# mv debian/poxml-trinity/usr/share/man debian/poxml-trinity/usr/share/
|
||
|
|
||
|
#binary-install/tdecachegrind-converters-trinity::
|
||
|
# mv debian/tdecachegrind-converters-trinity/usr/share/man debian/tdecachegrind-converters-trinity/usr/share/
|
||
|
|
||
|
#binary-install/tdecachegrind-trinity::
|
||
|
# mv debian/tdecachegrind-trinity/usr/share/man debian/tdecachegrind-trinity/usr/share/
|
||
|
|
||
|
#binary-install/umbrello-trinity::
|
||
|
# mv debian/umbrello-trinity/usr/share/man debian/umbrello-trinity/usr/share/
|