Add license
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: libidn2
|
||||
description: An implementation of the IDNA2008 + TR46 specifications
|
||||
version: 2.3.7
|
||||
revision: 2
|
||||
revision: 3
|
||||
url: https://www.gnu.org/software/libidn/
|
||||
license: GPL2,LGPL3
|
||||
architecture: any
|
||||
|
||||
@@ -29,4 +29,10 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user