licensing: Add licensing metadata to many packages

Two new variables are introduces to many packages, namely PKG_LICENSE and
PKG_LICENSE_FILES - there may be more than one license applied to packages,
and these are listed in the PKG_LICENSE variable and separated by spaces.
All relevant license files are also added to the PKG_LICENSE_FILES variable,
also space separated.

The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Hamish Guthrie
2012-10-19 15:34:28 +00:00
parent 810db7487c
commit a81ef914e0
30 changed files with 97 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.21
PKG_MD5SUM:=54ba880f1d66782c2287ee2c898520e9
PKG_LICENSE:=GPLv2 LGPLv2.1 BSD-3c
PKG_LICENSE_FILES:=COPYING getopt/COPYING libblkid/COPYING libmount/COPYING Documentation/licenses/COPYING.GPLv2 Documentation/licenses/COPYING.LGPLv2.1 libuuid/COPYING Documentation/licenses/COPYING.BSD-3
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=libncurses
PKG_FIXUP:=autoreconf