packages: use SPDX short identifier for zlib license
authorRahul Bedarkar <rahulbedarkar89@gmail.com>
Thu, 30 Mar 2017 13:43:47 +0000 (19:13 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Apr 2017 13:35:02 +0000 (15:35 +0200)
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for zlib license is Zlib.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/zlib( )?(license)?/Zlib/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 files changed:
package/bullet/bullet.mk
package/libglfw/libglfw.mk
package/minizip/minizip.mk
package/physfs/physfs.mk
package/sdl2/sdl2.mk
package/sdl2_gfx/sdl2_gfx.mk
package/sdl2_image/sdl2_image.mk
package/sdl2_ttf/sdl2_ttf.mk
package/sdl_gfx/sdl_gfx.mk
package/sdl_image/sdl_image.mk
package/sdl_mixer/sdl_mixer.mk
package/sdl_net/sdl_net.mk
package/sdl_ttf/sdl_ttf.mk
package/tinyxml/tinyxml.mk
package/tinyxml2/tinyxml2.mk
package/zlib/zlib.mk

index 99ff423632babd3a4507e61c9f93eda42feaa2e0..920ea8756b029a5965115d3c41503cf7021e560c 100644 (file)
@@ -7,7 +7,7 @@
 BULLET_VERSION = 2.85.1
 BULLET_SITE = $(call github,bulletphysics,bullet3,$(BULLET_VERSION))
 BULLET_INSTALL_STAGING = YES
-BULLET_LICENSE = zlib license
+BULLET_LICENSE = Zlib
 BULLET_LICENSE_FILES = LICENSE.txt
 
 # Disable demos apps and unit tests.
index 0b1730d523d65e1bd66c2fb645e7201d30b19940..1e4240435945bfcc3092a92e4b85fc343ab3600e 100644 (file)
@@ -9,7 +9,7 @@ LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION))
 LIBGLFW_INSTALL_STAGING = YES
 LIBGLFW_DEPENDENCIES = libgl xlib_libXcursor xlib_libXext \
        xlib_libXinerama xlib_libXrandr
-LIBGLFW_LICENSE = zlib
+LIBGLFW_LICENSE = Zlib
 LIBGLFW_LICENSE_FILES = COPYING.txt
 
 LIBGLFW_CONF_OPTS += \
index 3d612886810b706692416e5b09ac67811ac229e1..835dfb91214032fa872edcddcede50e4668e489c 100644 (file)
@@ -10,7 +10,7 @@ MINIZIP_DEPENDENCIES = zlib
 MINIZIP_AUTORECONF = YES
 MINIZIP_INSTALL_STAGING = YES
 MINIZIP_CONF_OPTS = $(if $(BR2_PACKAGE_MINIZIP_DEMOS),--enable-demos)
-MINIZIP_LICENSE = zlib license
+MINIZIP_LICENSE = Zlib
 MINIZIP_LICENSE_FILES = LICENSE
 
 $(eval $(autotools-package))
index c88d7cfc567d9c48d3bbf589c81a717a33e54447..9193ad5ec0730e4ab05284dd5375a36629addcc5 100644 (file)
@@ -8,7 +8,7 @@ PHYSFS_VERSION = be27dfd07d97336145e7f49d3fd200a6e902f85e
 PHYSFS_SITE = https://hg.icculus.org/icculus/physfs
 PHYSFS_SITE_METHOD = hg
 
-PHYSFS_LICENSE = zlib license (physfs), LGPL with exceptions (lzma)
+PHYSFS_LICENSE = Zlib (physfs), LGPL with exceptions (lzma)
 PHYSFS_LICENSE_FILES = LICENSE.txt src/lzma/LGPL.txt
 
 PHYSFS_INSTALL_STAGING = YES
index 628d9060b4bce601e1439882598c409b5638f3a6..1db4e76311bfa58f391486831c519b941b565aea 100644 (file)
@@ -7,7 +7,7 @@
 SDL2_VERSION = 2.0.5
 SDL2_SOURCE = SDL2-$(SDL2_VERSION).tar.gz
 SDL2_SITE = http://www.libsdl.org/release
-SDL2_LICENSE = zlib
+SDL2_LICENSE = Zlib
 SDL2_LICENSE_FILES = COPYING.txt
 SDL2_INSTALL_STAGING = YES
 SDL2_CONFIG_SCRIPTS = sdl2-config
index 975bca73adf0c76040ae7b04922fbb7e0e92ce0d..1ec138714b67b7bb351caf5056b29cb0400b5b0d 100644 (file)
@@ -7,7 +7,7 @@
 SDL2_GFX_VERSION = 1.0.1
 SDL2_GFX_SOURCE = SDL2_gfx-$(SDL2_GFX_VERSION).tar.gz
 SDL2_GFX_SITE = http://www.ferzkopp.net/Software/SDL2_gfx
-SDL2_GFX_LICENSE = zlib
+SDL2_GFX_LICENSE = Zlib
 SDL2_GFX_LICENSE_FILES = COPYING SDL2_framerate.h
 SDL2_GFX_INSTALL_STAGING = YES
 SDL2_GFX_DEPENDENCIES = sdl2 host-pkgconf
index cf3b738edc5ced97a77bd14d73038d4366183ca7..71a9634023d0b762ca4e505d63a485c9fec1773e 100644 (file)
@@ -8,7 +8,7 @@ SDL2_IMAGE_VERSION = 2.0.1
 SDL2_IMAGE_SOURCE = SDL2_image-$(SDL2_IMAGE_VERSION).tar.gz
 SDL2_IMAGE_SITE = http://www.libsdl.org/projects/SDL_image/release
 SDL2_IMAGE_INSTALL_STAGING = YES
-SDL2_IMAGE_LICENSE = zlib
+SDL2_IMAGE_LICENSE = Zlib
 SDL2_IMAGE_LICENSE_FILES = COPYING.txt
 
 # Unconditionally enable support for image formats that don't require
index 86916c3443a23f287867a07d45ee96576507c411..dbe30dd5449526f4413be1dea7c2903f0629bbfd 100644 (file)
@@ -7,7 +7,7 @@
 SDL2_TTF_VERSION = 2.0.14
 SDL2_TTF_SOURCE = SDL2_ttf-$(SDL2_TTF_VERSION).tar.gz
 SDL2_TTF_SITE = http://www.libsdl.org/projects/SDL_ttf/release
-SDL2_TTF_LICENSE = zlib
+SDL2_TTF_LICENSE = Zlib
 SDL2_TTF_LICENSE_FILES = COPYING.txt
 SDL2_TTF_INSTALL_STAGING = YES
 SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf
index 7f3a2ffec81690710f48d7c92d2f0823a7a47ffa..e7420de1ca2c277ea7db81c94e5506166b57c64b 100644 (file)
@@ -8,7 +8,7 @@ SDL_GFX_VERSION_MAJOR = 2.0
 SDL_GFX_VERSION = $(SDL_GFX_VERSION_MAJOR).23
 SDL_GFX_SOURCE = SDL_gfx-$(SDL_GFX_VERSION).tar.gz
 SDL_GFX_SITE = http://www.ferzkopp.net/Software/SDL_gfx-$(SDL_GFX_VERSION_MAJOR)
-SDL_GFX_LICENSE = zlib
+SDL_GFX_LICENSE = Zlib
 SDL_GFX_LICENSE_FILES = COPYING LICENSE
 SDL_GFX_INSTALL_STAGING = YES
 SDL_GFX_DEPENDENCIES = sdl
index f88aa0e7c7a52c2a29452b3fa1e84b966f44bdfd..6ea657bcff859150f71bf192f4565e31887fcb6f 100644 (file)
@@ -8,7 +8,7 @@ SDL_IMAGE_VERSION = 1.2.12
 SDL_IMAGE_SOURCE = SDL_image-$(SDL_IMAGE_VERSION).tar.gz
 SDL_IMAGE_SITE = http://www.libsdl.org/projects/SDL_image/release
 SDL_IMAGE_INSTALL_STAGING = YES
-SDL_IMAGE_LICENSE = zlib
+SDL_IMAGE_LICENSE = Zlib
 SDL_IMAGE_LICENSE_FILES = COPYING
 
 SDL_IMAGE_CONF_OPTS = \
index 897b308e9dc41cbcf5f30b11059561e4f6e92619..1c6912accfccb31838d1ce5a04b9fb43ec11b62b 100644 (file)
@@ -7,7 +7,7 @@
 SDL_MIXER_VERSION = 1.2.12
 SDL_MIXER_SOURCE = SDL_mixer-$(SDL_MIXER_VERSION).tar.gz
 SDL_MIXER_SITE = http://www.libsdl.org/projects/SDL_mixer/release
-SDL_MIXER_LICENSE = zlib
+SDL_MIXER_LICENSE = Zlib
 SDL_MIXER_LICENSE_FILES = COPYING
 
 SDL_MIXER_INSTALL_STAGING = YES
index 4534dee3a9ef7db59a281fafc11bd1886074ccce..c7e409a1831a58966cccae3bd264cf57dc0dcf39 100644 (file)
@@ -7,7 +7,7 @@
 SDL_NET_VERSION = 1.2.8
 SDL_NET_SITE = http://www.libsdl.org/projects/SDL_net/release
 SDL_NET_SOURCE = SDL_net-$(SDL_NET_VERSION).tar.gz
-SDL_NET_LICENSE = zlib
+SDL_NET_LICENSE = Zlib
 SDL_NET_LICENSE_FILES = COPYING
 
 SDL_NET_CONF_OPTS = \
index 3e494b4ca28db66d59f45afe96e5a88333a6461c..1d94c6c5cf85987a776ed718607055d0481cf549 100644 (file)
@@ -7,7 +7,7 @@
 SDL_TTF_VERSION = 2.0.11
 SDL_TTF_SOURCE = SDL_ttf-$(SDL_TTF_VERSION).tar.gz
 SDL_TTF_SITE = http://www.libsdl.org/projects/SDL_ttf/release
-SDL_TTF_LICENSE = zlib
+SDL_TTF_LICENSE = Zlib
 SDL_TTF_LICENSE_FILES = COPYING
 
 SDL_TTF_INSTALL_STAGING = YES
index df7b29fefb96d2c2cdb72e27385282159e5e76e8..15280517aca09060492b6bfd364e1f89d001f3e4 100644 (file)
@@ -10,7 +10,7 @@ TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources
 # configure.ac which is not present in mainline.
 TINYXML_AUTORECONF = YES
 TINYXML_INSTALL_STAGING = YES
-TINYXML_LICENSE = zlib
+TINYXML_LICENSE = Zlib
 TINYXML_LICENSE_FILES = README
 
 $(eval $(autotools-package))
index 053e46eaf8dbcd906164280dec7c4ea6cd2aa88a..461c36cf98f424e4a74bdf8df169c1954c112170 100644 (file)
@@ -6,7 +6,7 @@
 
 TINYXML2_VERSION = 3.0.0
 TINYXML2_SITE = $(call github,leethomason,tinyxml2,$(TINYXML2_VERSION))
-TINYXML2_LICENSE = zlib
+TINYXML2_LICENSE = Zlib
 TINYXML2_LICENSE_FILES = readme.md
 TINYXML2_INSTALL_STAGING = YES
 
index deea5a5ee7a40a20e8b5db07bb8623696362aba8..23c6e95cfae597862c16fe03c32a7cb62cba06ad 100644 (file)
@@ -7,7 +7,7 @@
 ZLIB_VERSION = 1.2.11
 ZLIB_SOURCE = zlib-$(ZLIB_VERSION).tar.xz
 ZLIB_SITE = http://www.zlib.net
-ZLIB_LICENSE = zlib license
+ZLIB_LICENSE = Zlib
 ZLIB_LICENSE_FILES = README
 ZLIB_INSTALL_STAGING = YES