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/applications/tdesvn/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/applications/tdesvn/debian/rules')
-rwxr-xr-x | ubuntu/maverick/applications/tdesvn/debian/rules | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/tdesvn/debian/rules b/ubuntu/maverick/applications/tdesvn/debian/rules new file mode 100755 index 000000000..6e339cd2e --- /dev/null +++ b/ubuntu/maverick/applications/tdesvn/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +PATH := /opt/trinity/bin:$(PATH) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.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_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/kde" -DCMAKE_CXX_FLAGS="-I/opt/trinity/include/kde" -DCMAKE_LDFLAGS="-L/opt/trinity/lib" + +DEB_COMPRESS_EXCLUDE := .dcl .docbook -license .tag .sty .el + +DEB_DH_MAKESHLIBS_ARGS_libsvnqt4 := -V + +# Tell dh_shlibdeps where to find our own libs. +DEB_SHLIBDEPS_INCLUDE := debian/tmp/opt/trinity/lib + +common-install-impl:: + mkdir -p debian/tmp/opt/trinity + mkdir -p debian/tmp/opt/trinity/include/kde + mkdir -p debian/tmp/usr/lib + mkdir -p debian/tmp/opt/trinity/lib + mkdir -p debian/tmp/usr/lib/trinity + mkdir -p debian/tmp/usr/lib64/trinity + touch debian/tmp/usr/lib/trinity/removeme + touch debian/tmp/usr/lib64/trinity/removeme + mv debian/tmp/usr/lib/trinity/* debian/tmp/usr/lib/ + mv debian/tmp/usr/lib64/trinity/* debian/tmp/usr/lib64/ + rm -rf debian/tmp/usr/lib/trinity + rm -rf debian/tmp/usr/lib64/trinity + cp -Rp debian/tmp/usr/bin debian/tmp/opt/trinity/ + cp -Rp debian/tmp/usr/lib/* debian/tmp/opt/trinity/lib/ + cp -Rp debian/tmp/usr/lib64/* debian/tmp/opt/trinity/lib/ + cp -Rp debian/tmp/usr/share debian/tmp/opt/trinity/ + cp -Rp debian/tmp/usr/include/* debian/tmp/opt/trinity/include/kde/ + rm -rf debian/tmp/usr/bin + rm -rf debian/tmp/usr/lib/trinity + rm -rf debian/tmp/usr/lib64/trinity + rm -rf debian/tmp/usr/share + rm -rf debian/tmp/usr/include + mkdir -p debian/tmp/opt/trinity/lib/trinity + touch debian/tmp/opt/trinity/lib/trinity/removeme + cp -Rp debian/tmp/opt/trinity/lib/trinity/* debian/tmp/opt/trinity/lib/ + rm -rf debian/tmp/opt/trinity/lib/trinity + rm -rf debian/tmp/opt/trinity/lib/removeme |