aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2012-10-19 15:34:28 +0000
committerHamish Guthrie <hcg@openwrt.org>2012-10-19 15:34:28 +0000
commit81a3d9ba3104aab63e6b5b9725060f3267b8e4fe (patch)
tree991b512d8d4abc4b3bd3a3d9d0de97c9720b12d5 /include/package-ipkg.mk
parent5fb6cf9a111d544ae3d61815d5b5c4ac90af717c (diff)
downloadupstream-81a3d9ba3104aab63e6b5b9725060f3267b8e4fe.tar.gz
upstream-81a3d9ba3104aab63e6b5b9725060f3267b8e4fe.tar.bz2
upstream-81a3d9ba3104aab63e6b5b9725060f3267b8e4fe.zip
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
Diffstat (limited to 'include/package-ipkg.mk')
-rw-r--r--include/package-ipkg.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 665aac5d65..4ee0a96ad1 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -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)"; \