summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/kdevelop.cmake/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/kdevelop.cmake/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/kdevelop.cmake/debian/rules')
-rwxr-xr-xubuntu/maverick/kdevelop.cmake/debian/rules29
1 files changed, 29 insertions, 0 deletions
diff --git a/ubuntu/maverick/kdevelop.cmake/debian/rules b/ubuntu/maverick/kdevelop.cmake/debian/rules
new file mode 100755
index 000000000..0bf8bfe14
--- /dev/null
+++ b/ubuntu/maverick/kdevelop.cmake/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+# work around debian/cdbs/uploaders.mk
+makebuilddir::
+ [ -f debian/control.tmp ] || cp debian/control debian/control.tmp
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include debian/cdbs/debian-qt-kde.mk
+
+DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
+-DWITH_XINERAMA="ON"
+
+# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
+# never build in parallel, regardless of DEB_BUILD_OPTIONS.
+DEB_BUILD_PARALLEL = true
+
+PACKAGES_WITH_LIBS := kdevelop-trinity
+
+DEB_KDE_ENABLE_FINAL :=
+DEB_INSTALL_DOCS_kdevelop = AUTHORS
+DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp
+
+binary-install/kdevelop-trinity::
+ mkdir -p debian/kdevelop-trinity/opt/trinity/share/pixmaps
+ cp debian/kdevelop.xpm debian/kdevelop-trinity/opt/trinity/share/pixmaps
+