summaryrefslogtreecommitdiffstats
path: root/redhat/Makefile.v3.5.13-sru
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-07-14 00:03:38 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-07-14 00:03:38 +0200
commitc6eec582c412347deeb9681922c1c204c49d74b0 (patch)
tree35cfbbaab3b012adda6cbeeb2df96d926ddde418 /redhat/Makefile.v3.5.13-sru
parent2df1d237581f87abb0cf8da09e8faf984c26e8db (diff)
downloadtde-packaging-c6eec582c412347deeb9681922c1c204c49d74b0.tar.gz
tde-packaging-c6eec582c412347deeb9681922c1c204c49d74b0.zip
RPM Packaging: build 3.5.13.2 for CentOS 7
Diffstat (limited to 'redhat/Makefile.v3.5.13-sru')
-rw-r--r--redhat/Makefile.v3.5.13-sru38
1 files changed, 21 insertions, 17 deletions
diff --git a/redhat/Makefile.v3.5.13-sru b/redhat/Makefile.v3.5.13-sru
index c8f449346..c3ad3e7c5 100644
--- a/redhat/Makefile.v3.5.13-sru
+++ b/redhat/Makefile.v3.5.13-sru
@@ -120,20 +120,20 @@ ifneq ($(wildcard /etc/mageia-release /boot/vmlinuz*.el7*),)
endif
gnuchess:
-# Build on CentOS 5 only
-ifneq ($(wildcard /boot/vmlinuz*.el5*),)
+# Build on CentOS 5, CentOS 7
+ifneq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7*),)
$(call buildpkg,3rdparty/gnuchess)
endif
hal: hal-info
-# Do NOT build on CentOS
-ifeq ($(wildcard /etc/centos-release),)
+# Do NOT build on CentOS 5, CentOS 6
+ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),)
$(call buildpkg,3rdparty/hal)
endif
hal-info:
-# Do NOT build on CentOS
-ifeq ($(wildcard /etc/centos-release),)
+# Do NOT build on CentOS 5, CentOS 6
+ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),)
$(call buildpkg,3rdparty/hal-info)
endif
@@ -160,20 +160,20 @@ ifneq ($(wildcard /boot/vmlinuz*.el5*),)
endif
libotr3:
-# Build on Mageia only
-ifneq ($(wildcard /etc/mageia-release),)
+# Build on Mageia, CentOS >= 7
+ifneq ($(wildcard /etc/mageia-release /boot/vmlinuz*.el7*),)
$(call buildpkg,3rdparty/libotr3)
endif
lilypond: mftrace
-# Build on CentOS only
-ifneq ($(wildcard /etc/centos-release),)
+# Build on CentOS 6 only
+ifneq ($(wildcard /boot/vmlinuz*.el6*),)
$(call buildpkg,3rdparty/lilypond)
endif
mftrace:
-# Build on CentOS only
-ifneq ($(wildcard /etc/centos-release),)
+# Build on CentOS 6 only
+ifneq ($(wildcard /boot/vmlinuz*.el6*),)
$(call buildpkg,3rdparty/mftrace)
endif
@@ -199,8 +199,8 @@ ifneq ($(wildcard /boot/vmlinuz*.el5*),)
endif
sword:
-# Build on Fedora >= 20 only, or PCLinuxOS
-ifneq ($(wildcard /boot/vmlinuz*.fc20* /etc/pclinuxos-release),)
+# Build on Fedora >= 20, PCLinuxOS, CentOS >= 7
+ifneq ($(wildcard /boot/vmlinuz*.fc20* /etc/pclinuxos-release /boot/vmlinuz*.el7*),)
$(call buildpkg,3rdparty/sword)
endif
@@ -341,9 +341,10 @@ kerry: tdebase
kgtk-qt3: tdebase
# Do NOT build on CentOS 5 (GTK2 is too old)
+# Do NOT build on CentOS >=7 (GTK2 is too new)
# Do NOT build on Fedora >= 20 (GTK2 is too new)
# Do NOT build on Mageia >= 4 (GTK2 is too new)
-ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.fc20* /boot/vmlinuz*.mga4*),)
+ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7* /boot/vmlinuz*.fc20* /boot/vmlinuz*.mga4*),)
$(call buildpkg,applications/kgtk-qt3)
endif
@@ -447,8 +448,8 @@ potracegui: tdebase
$(call buildpkg,applications/potracegui)
rosegarden: tdebase lilypond
-# Do NOT build on CentOS 5
-ifeq ($(wildcard /boot/vmlinuz*.el5*),)
+# Do NOT build on CentOS 5, CentOS 7
+ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7*),)
$(call buildpkg,applications/rosegarden)
endif
@@ -474,7 +475,10 @@ tdeio-umountwrapper: tdebase
$(call buildpkg,applications/tdeio-umountwrapper)
tderadio: tdebase
+# Do NOT build on CentOS 7
+ifeq ($(wildcard /boot/vmlinuz*.el7*),)
$(call buildpkg,applications/tderadio)
+endif
tde-style-lipstik: tdebase
$(call buildpkg,applications/tde-style-lipstik)