summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick_automake/applications/kdesvn/debian/rules
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 16:17:43 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 16:17:43 -0500
commit9b2075d9b89fc628c447fbb98f43ef72e4a9c81d (patch)
tree2de9e866f064b1c7d36df24de1df305474f949fe /ubuntu/maverick_automake/applications/kdesvn/debian/rules
downloadtde-packaging-9b2075d9b89fc628c447fbb98f43ef72e4a9c81d.tar.gz
tde-packaging-9b2075d9b89fc628c447fbb98f43ef72e4a9c81d.zip
Initial import from old SVN repository
Note that only the Debian and Ubuntu folders were preserved
Diffstat (limited to 'ubuntu/maverick_automake/applications/kdesvn/debian/rules')
-rwxr-xr-xubuntu/maverick_automake/applications/kdesvn/debian/rules49
1 files changed, 49 insertions, 0 deletions
diff --git a/ubuntu/maverick_automake/applications/kdesvn/debian/rules b/ubuntu/maverick_automake/applications/kdesvn/debian/rules
new file mode 100755
index 000000000..f7ce7d21e
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/kdesvn/debian/rules
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+
+PATH := /opt/kde3/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/kde3/include/kde
+DEB_CONFIGURE_MANDIR := /opt/kde3/share/man
+DEB_CONFIGURE_PREFIX := /opt/kde3
+DEB_CONFIGURE_INFODIR := /opt/kde3/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/kde3/lib" -DCMAKE_INCLUDE_PATH="/opt/kde3/include/kde" -DCMAKE_CXX_FLAGS="-I/opt/kde3/include/kde" -DCMAKE_LDFLAGS="-L/opt/kde3/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/kde3/lib
+
+common-install-impl::
+ mkdir -p debian/tmp/opt/kde3
+ mkdir -p debian/tmp/opt/kde3/include/kde
+ mkdir -p debian/tmp/usr/lib
+ mkdir -p debian/tmp/opt/kde3/lib
+ mkdir -p debian/tmp/usr/lib/kde3
+ mkdir -p debian/tmp/usr/lib64/kde3
+ touch debian/tmp/usr/lib/kde3/removeme
+ touch debian/tmp/usr/lib64/kde3/removeme
+ mv debian/tmp/usr/lib/kde3/* debian/tmp/usr/lib/
+ mv debian/tmp/usr/lib64/kde3/* debian/tmp/usr/lib64/
+ rm -rf debian/tmp/usr/lib/kde3
+ rm -rf debian/tmp/usr/lib64/kde3
+ cp -Rp debian/tmp/usr/bin debian/tmp/opt/kde3/
+ cp -Rp debian/tmp/usr/lib/* debian/tmp/opt/kde3/lib/
+ cp -Rp debian/tmp/usr/lib64/* debian/tmp/opt/kde3/lib/
+ cp -Rp debian/tmp/usr/share debian/tmp/opt/kde3/
+ cp -Rp debian/tmp/usr/include/* debian/tmp/opt/kde3/include/kde/
+ rm -rf debian/tmp/usr/bin
+ rm -rf debian/tmp/usr/lib/kde3
+ rm -rf debian/tmp/usr/lib64/kde3
+ rm -rf debian/tmp/usr/share
+ rm -rf debian/tmp/usr/include
+ rm -rf debian/tmp/opt/kde3/lib/removeme