From 58313fff71b3508e03dc3005d07fc7115fb63621 Mon Sep 17 00:00:00 2001
From: hcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 19 Oct 2012 15:34:28 +0000
Subject: 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
---
 package/libs/gettext/Makefile    | 3 +++
 package/libs/gettext/src/LICENSE | 7 +++++++
 2 files changed, 10 insertions(+)
 create mode 100644 package/libs/gettext/src/LICENSE

(limited to 'package/libs/gettext')

diff --git a/package/libs/gettext/Makefile b/package/libs/gettext/Makefile
index c2f4e756f..1ee785eec 100644
--- a/package/libs/gettext/Makefile
+++ b/package/libs/gettext/Makefile
@@ -10,6 +10,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=gettext
 PKG_RELEASE:=2
 
+PKG_LICENSE:=FREE
+PKG_LICENSE_FILES:=LICENSE
+
 PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
 
 include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/gettext/src/LICENSE b/package/libs/gettext/src/LICENSE
new file mode 100644
index 000000000..d1a59b05e
--- /dev/null
+++ b/package/libs/gettext/src/LICENSE
@@ -0,0 +1,7 @@
+Each source file contains the following message:
+
+Copyright (C) 1995-2010 Free Software Foundation, Inc.
+This file is free software; the Free Software Foundation
+gives unlimited permission to copy and/or distribute it,
+with or without modifications, as long as this notice is preserved.
+
-- 
cgit v1.2.3