RPM packaging: update build scripts

pull/3/head
François Andriot 8 years ago
parent cf7c46d01b
commit 32640119f4

@ -106,7 +106,7 @@ tdegames: tdebase tdemultimedia
tdegraphics: tdebase poppler cmake lcms tdegraphics: tdebase poppler cmake lcms
$(call buildpkg,main/tdegraphics) $(call buildpkg,main/tdegraphics)
tdelibs: tqt3 tqtinterface arts dbus-tqt dbus-1-tqt cmake avahi-tqt fileshareset trinity-filesystem libart_lgpl tdelibs: tqt3 tqtinterface arts dbus-tqt dbus-1-tqt cmake avahi-tqt fileshareset trinity-filesystem libart_lgpl file
$(call buildpkg,main/tdelibs) $(call buildpkg,main/tdelibs)
tdemultimedia: tdebase akode tdemultimedia: tdebase akode
@ -164,6 +164,12 @@ ifneq ($(wildcard /etc/mageia-release /boot/vmlinuz*.el7* /boot/vmlinuz*.fc23*)
$(call buildpkg,3rdparty/esound) $(call buildpkg,3rdparty/esound)
endif endif
file:
# Build on CentOS 5
ifneq ($(wildcard /boot/vmlinuz*.el5*),)
$(call buildpkg,3rdparty/file)
endif
gnuchess: gnuchess:
# Build on CentOS 5, CentOS 7 # Build on CentOS 5, CentOS 7
ifneq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7*),) ifneq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7*),)

@ -75,8 +75,8 @@ echo "${PREFIX}${PKGRUNTIME}"
if [ -n "${DEVEL}" ]; then if [ -n "${DEVEL}" ]; then
# Check if development package is required. # Check if development package is required.
case "${PKGCATEGORY}" in case "${PKGCATEGORY}" in
# Applications do NOT have 'devel' package, except K3B. # Applications do NOT have 'devel' package, except K3B, Koffice.
"applications") if [ "${PKGNAME}" != "k3b" ]; then exit 0; fi;; "applications") if [ "${PKGNAME}" != "k3b" ] && [ "${PKGNAME}" != "koffice" ]; then exit 0; fi;;
# Extras packages do NOT have 'devel' package, except Akode # Extras packages do NOT have 'devel' package, except Akode
"extras") if [ "${PKGNAME}" != "akode" ] && [ "${PKGNAME}" != "hk_classes" ]; then exit 0; fi;; "extras") if [ "${PKGNAME}" != "akode" ] && [ "${PKGNAME}" != "hk_classes" ]; then exit 0; fi;;
esac esac

Loading…
Cancel
Save