summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/libtqt-perl/debian/rules
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <sh4dou@gmail.com>2011-12-18 19:09:26 +0100
committerPawel "l0ner" Soltys <sh4dou@gmail.com>2011-12-18 19:09:26 +0100
commit17bd64a4f5045bff950e8725a66ee1800e0254e1 (patch)
treeff25e74f8237046702df34d68563a9052d82acdd /ubuntu/maverick/libraries/libtqt-perl/debian/rules
parent620523010a822e93be02bdb3e375c11fe51ebae4 (diff)
parentaecd88c6bb977677b41b95e89395f673ce8bdb4a (diff)
downloadtde-packaging-17bd64a4f5045bff950e8725a66ee1800e0254e1.tar.gz
tde-packaging-17bd64a4f5045bff950e8725a66ee1800e0254e1.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/libraries/libtqt-perl/debian/rules')
-rwxr-xr-xubuntu/maverick/libraries/libtqt-perl/debian/rules56
1 files changed, 56 insertions, 0 deletions
diff --git a/ubuntu/maverick/libraries/libtqt-perl/debian/rules b/ubuntu/maverick/libraries/libtqt-perl/debian/rules
new file mode 100755
index 000000000..6a7885e21
--- /dev/null
+++ b/ubuntu/maverick/libraries/libtqt-perl/debian/rules
@@ -0,0 +1,56 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+SAVERESTORE=\
+ acinclude.m4 \
+ aclocal.m4 \
+ admin/config.guess \
+ admin/config.sub \
+ admin/libtool.m4.in \
+ admin/ltmain.sh \
+ config.h.in \
+ configure \
+ Makefile.in \
+ puic/Makefile.in \
+ smoke/Makefile.in \
+ smoke/qt/Makefile.in \
+ PerlQt/bin \
+
+DEB_AUTO_UPDATE_AUTOCONF := 2.61
+
+DEB_CONFIGURE_EXTRA_FLAGS += \
+ --prefix=/opt/trinity \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --with-qt-dir=/usr/share/tqt3 \
+ --disable-rpath \
+
+DEB_MAKE_INSTALL_TARGET := install \
+ prefix=$(CURDIR)/debian/libtqt-perl/usr \
+ PREFIX=$(CURDIR)/debian/libtqt-perl/usr \
+ SITEPREFIX=$(CURDIR)/debian/libtqt-perl/usr \
+
+pre-build:: pre-build-stamp
+
+pre-build-stamp:
+ for f in $(SAVERESTORE) ; do [ -e $$f.d-r-orig ] || cp -rp $$f $$f.d-r-orig ; done
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/misc/config.guess admin/config.guess
+ cp -f /usr/share/misc/config.sub admin/config.sub
+ make -f admin/Makefile.common
+ touch pre-build-stamp
+
+build/libtqt-perl::
+ chrpath -d puic/puic
+
+clean::
+ rm -f PerlQt/bin/.exists
+ for f in $(SAVERESTORE) ; do [ ! -e $$f.d-r-orig ] || ( rm -rf $$f && mv $$f.d-r-orig $$f ) ; done
+ rm -f pre-build-stamp
+
+repair:
+ for f in $(SAVERESTORE) ; do rm -f $$f ; cp -p ../orig/*/$$f $$f ; done
+