Add license

This commit is contained in:
2025-05-11 14:45:39 +03:00
parent e10a374d04
commit b70e208966
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: libidn2 name: libidn2
description: An implementation of the IDNA2008 + TR46 specifications description: An implementation of the IDNA2008 + TR46 specifications
version: 2.3.7 version: 2.3.7
revision: 2 revision: 3
url: https://www.gnu.org/software/libidn/ url: https://www.gnu.org/software/libidn/
license: GPL2,LGPL3 license: GPL2,LGPL3
architecture: any architecture: any
+6
View File
@@ -29,4 +29,10 @@ check() {
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
make DESTDIR="$BPM_OUTPUT" install make DESTDIR="$BPM_OUTPUT" install
# Install package licenses
install -Dm644 "$BPM_SOURCE"/COPYINGv2 "$BPM_OUTPUT"/usr/share/licenses/libidn2/COPYINGv2
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libidn2/COPYING
install -Dm644 "$BPM_SOURCE"/COPYING.LESSERv3 "$BPM_OUTPUT"/usr/share/licenses/libidn2/COPYING.LESSERv3
install -Dm644 "$BPM_SOURCE"/COPYING.unicode "$BPM_OUTPUT"/usr/share/licenses/libidn2/COPYING.unicode
} }