diff options
author | albator <albator@arcadia.vtf> | 2011-11-05 11:51:44 +0100 |
---|---|---|
committer | albator <albator@arcadia.vtf> | 2011-11-05 11:51:44 +0100 |
commit | 70bc259aa3f4dbd83bd239030690759449ee714b (patch) | |
tree | b61af2d70c64ca12dbec49053c0b20dae8ba7926 /ubuntu/maverick/tdesdk/debian/rules | |
parent | 1f3a44f73fa43d3c30f47ff8c4f5c414d83f4765 (diff) | |
parent | 169853a068683db6540e3b77542d5139bb7867d1 (diff) | |
download | tde-packaging-70bc259aa3f4dbd83bd239030690759449ee714b.tar.gz tde-packaging-70bc259aa3f4dbd83bd239030690759449ee714b.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/tdesdk/debian/rules')
-rwxr-xr-x | ubuntu/maverick/tdesdk/debian/rules | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/ubuntu/maverick/tdesdk/debian/rules b/ubuntu/maverick/tdesdk/debian/rules new file mode 100755 index 000000000..fc163e6d7 --- /dev/null +++ b/ubuntu/maverick/tdesdk/debian/rules @@ -0,0 +1,76 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include debian/cdbs/debian-qt-kde.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/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_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib + +PACKAGES_WITH_LIBS := kbabel-trinity kompare-trinity kspy-trinity kunittest-trinity libcvsservice0-trinity umbrello-trinity + +DEB_DH_MAKESHLIBS_ARGS_kbabel-trinity := -V'kbabel-trinity (>= 4:3.5.8-1)' +DEB_DH_MAKESHLIBS_ARGS_kompare-trinity := -V'kompare-trinity (>= 4:3.5.8-1)' +DEB_DH_MAKESHLIBS_ARGS_kspy-trinity := -V'kspy-trinity (>= 4:3.5.8-1)' +DEB_DH_MAKESHLIBS_ARGS_kunittest-trinity := -V'kunittest-trinity (>= 4:3.5.8-1)' +DEB_DH_MAKESHLIBS_ARGS_libcvsservice0-trinity := -V'libcvsservice0-trinity (>= 4:3.5.8-1)' +DEB_DH_MAKESHLIBS_ARGS_umbrello-trinity := -V'umbrello-trinity (>= 4:3.5.8-1)' + +#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_kcachegrind-trinity := kcachegrind/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/opt/trinity/bin/svn-clean \ + debian/tdesdk-scripts-trinity/opt/trinity/bin/svn-clean-kde + mv -f debian/tdesdk-scripts-trinity/opt/trinity/bin/svnversions \ + debian/tdesdk-scripts-trinity/opt/trinity/bin/svnversion-kde + rm -rf debian/tdesdk-scripts-trinity/opt/share/man/pl + rm -rf debian/tdesdk-scripts-trinity/opt/share/man/py + rm -rf debian/tdesdk-scripts-trinity/opt/share/man/sh + install -p -D -m644 scripts/kde-buildrc \ + debian/tdesdk-scripts-trinity/opt/trinity/share/doc/tdesdk-scripts-trinity/kde-buildrc.example + +binary-install/tdesdk-misc-trinity:: + install -p -D -m644 kdeaccounts-plugin/README \ + debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/README.kdeaccounts-plugin + install -p -D -m644 kioslave/svn/AUTHORS \ + debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/AUTHORS.kioslave-svn + install -p -D -m644 kioslave/svn/README \ + debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/README.kioslave-svn + install -p -D -m644 kprofilemethod/README \ + debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/README.kprofilemethod + install -p -D -m644 scheck/README \ + debian/tdesdk-misc-trinity/opt/trinity/share/doc/tdesdk-misc/README.scheck + +binary-install/kapptemplate-trinity:: + rm -f debian/kapptemplate-trinity/opt/trinity/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/opt/trinity/share/apps/kapptemplate/admin/$$admindirfile; \ + done |