Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
goldendict-git
debian.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package goldendict-git
#!/usr/bin/make -f # -*- makefile -*- include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/qmake.mk export PREFIX=/usr # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 export DEB_BUILD_OPTIONS=nocheck # for Ubuntu/Debian: DISTRO_NAME=$(shell (cat /etc/issue | cut -d' ' -f1-1)) # for Ubuntu: DISTRO_YEAR=$(shell (cat /etc/issue | cut -d' ' -f2-2 | cut -d'.' -f1-1)) # for Debian: DISTRO_VERSION=$(shell (cat /etc/issue | cut -d' ' -f3-3)) ifeq ($(DISTRO_NAME), Ubuntu) OLD_UBUNTU=$(shell (expr $(DISTRO_YEAR) \< 12)) ifeq ($(OLD_UBUNTU), 1) DEB_QMAKE_ARGS="CONFIG+=old_hunspell CONFIG+=no_qtmultimedia_player CONFIG+=no_ffmpeg_player CONFIG+=no_epwing_support " else DEB_QMAKE_ARGS="CONFIG+=old_hunspell CONFIG+=no_qtmultimedia_player CONFIG+=no_epwing_support " endif endif ifeq ($(DISTRO_NAME), Debian) OLD_DEBIAN=$(shell (expr $(DISTRO_VERSION) \< 7)) ifeq ($(OLD_DEBIAN), 1) DEB_QMAKE_ARGS="CONFIG+=old_hunspell CONFIG+=no_qtmultimedia_player CONFIG+=no_ffmpeg_player CONFIG+=no_epwing_support " else DEB_QMAKE_ARGS="CONFIG+=old_hunspell CONFIG+=no_qtmultimedia_player CONFIG+=no_epwing_support " endif endif ifeq ($(DISTRO_NAME), Debian) OLD_QT=$(shell (expr $(DISTRO_VERSION) \< 9)) endif ifeq ($(DISTRO_NAME), Ubuntu) OLD_QT=$(shell (expr $(DISTRO_YEAR) \< 18)) endif ifeq ($(OLD_QT), 1) QMAKE = qmake-qt4 goldendict.pro else QMAKE = qmake goldendict.pro endif build: pwd $(QMAKE) -v gcc --version dh build override_dh_check: echo "WARNING: skipping running make check for now..."
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