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!

SVN-Revision: 33861
This commit is contained in:
Hamish Guthrie
2012-10-19 15:34:28 +00:00
parent 5fb6cf9a11
commit 81a3d9ba31
30 changed files with 97 additions and 0 deletions

View File

@@ -149,6 +149,10 @@ ifeq ($(DUMP),)
echo "Depends: $$$$DEPENDS"; \
echo "Provides: $(PROVIDES)"; \
echo "Source: $(SOURCE)"; \
echo "SourceFile: $(PKG_SOURCE)"; \
echo "SourceURL: $(PKG_SOURCE_URL)"; \
echo "License: $(PKG_LICENSE)"; \
echo "LicenseFiles: $(PKG_LICENSE_FILES)"; \
echo "Section: $(SECTION)"; \
echo "Status: unknown $(if $(filter hold,$(PKG_FLAGS)),hold,ok) not-installed"; \
echo "Essential: $(if $(filter essential,$(PKG_FLAGS)),yes,no)"; \