Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alstigro:qt-static-deb
qt-4.5.3
debian.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package qt-4.5.3
#!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 include /usr/share/quilt/quilt.make # This is the debhelper compatibility version to use. export DH_COMPAT=4 export QTDIR := $(shell pwd) export PATH := $(QTDIR)/bin:$(PATH) # workaround to use lrelease. fixed in Qt >= 4.4.x export LD_LIBRARY_PATH := $(QTDIR)/lib:$(LD_LIBRARY_PATH) ifeq ($(DEB_HOST_ARCH_OS),linux) PLATFORM_ARG = linux-g++ else PLATFORM_ARG = glibc-g++ endif build: build-stamp build-stamp: patch # dh_testdir # Add here commands to compile the package. # Create mkspecs/glibc-g++ from mkspecs/linux-g++, needed by GNU/kFreeBSD # we cannot use directly linux-g++ due to src/corelib/io/io.pri rm -rf mkspecs/glibc-g++ cp -a mkspecs/linux-g++ mkspecs/glibc-g++ ./configure -confirm-license \ -opensource \ -prefix /usr/lib/qt4 \ -headerdir /usr/include \ -sysconfdir /etc/ \ -translationdir /usr/share/qt4/translations \ -bindir /usr/bin \ -libdir /usr/lib \ -plugindir /usr/lib/qt4/ \ -static \ -qt-libpng \ -qt-zlib \ -qt-libmng \ -qt-libjpeg \ -qt-gif \ -no-webkit \ -no-dbus \ -opengl \ -no-glib \ -no-qdbus \ -nomake examples \ -nomake demos \ -make tools \ -make network \ -make plugins \ -make scrip \ -nomake sql \ -nomake svg \ -make qt3support \ -make xml \ -no-rpath \ -no-exceptions \ -pch \ -fast \ -xcursor \ -xfixes \ -xinerama \ -xshape \ -xrandr \ -xrender \ -xkb \ -stl \ -sm \ -reduce-relocations \ -fontconfig \ -largefile \ -platform $(PLATFORM_ARG) \ -release \ -graphicssystem raster make # --- end custom part for compiling touch build-stamp clean: unpatch # dh_testdir dh_testroot rm -f build-stamp dh_clean rm -f Makefile \ bin/qmake-qt4 \ mkspecs/default \ src/corelib/global/arch \ examples/tools/plugandpaint/plugins/*.so \ config.status \ demos/shared/libdemo_shared.prl \ mkspecs/qconfig.pri \ src/corelib/global/qconfig.* \ tools/qtestlib/updater/updater \ tools/qtestlib/updater/updater.debug \ examples/tools/plugandpaint/plugins/libpnp_basictools.a \ examples/qdbus/complexpingpong/Makefile* \ examples/qdbus/pingpong/Makefile* rm -rf lib/ plugins/ mkspecs/glibc-g++ # clean up after hppa tests rm -rf debian/hppa-tmp find bin/ config.tests/ qmake/ -exec file {} \; | grep ELF | sed 's/:.*//' | xargs rm -f find include/ -type l -print0 | xargs -0r rm -f find . -mindepth 2 -name Makefile -print0 \ -o -name Makefile.Debug -print0 \ -o -name Makefile.Release -print0 \ | xargs -0r rm -f # generate on build rm -f debian/shlibs.local install: build # dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package # The DESTDIR Has To Be Exactly $(CURDIR)/debian/<nameOfPackage> #(cd /usr/src/packages/BUILD/build_dir ; make install DESTDIR=/usr/src/packages/BUILD/debian/ace ) export RPM_BUILD_ROOT=$(CURDIR)/debian/libqt4static make INSTALL_ROOT=$(CURDIR)/debian/libqt4static install_subtargets install_qmake install_mkspecs # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install # dh_testdir dh_testroot # dh_installdebconf dh_installdocs dh_installexamples dh_installmenu # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit dh_installcron dh_installman dh_installinfo # dh_undocumented dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms # dh_makeshlibs dh_installdeb # dh_perl dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor