JAI: move to restricted
The license requires us to defend and indemnify Sun and its licensors.
This commit is contained in:
parent
32b7aa86e3
commit
613319828d
1 changed files with 17 additions and 6 deletions
|
@ -1,12 +1,21 @@
|
||||||
# Template file for 'JAI'
|
# Template file for 'JAI'
|
||||||
pkgname=JAI
|
pkgname=JAI
|
||||||
version=1.1.3
|
version=1.1.3
|
||||||
revision=3
|
revision=4
|
||||||
short_desc="Java Advanced Imaging Library - binary version"
|
|
||||||
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
|
||||||
license="Apache-2.0"
|
|
||||||
homepage="https://java.net/projects/jai-core"
|
|
||||||
archs="i686 x86_64"
|
archs="i686 x86_64"
|
||||||
|
short_desc="Java Advanced Imaging Library - binary version"
|
||||||
|
maintainer="Carlo Dormeletti <carlo.dormeletti@alice.it>"
|
||||||
|
license="custom:Oracle Binary Code License"
|
||||||
|
homepage="https://java.net/projects/jai-core"
|
||||||
|
repository=nonfree
|
||||||
|
# DISTRIBUTIONREADME-jai.txt
|
||||||
|
# (e) You agree to defend and indemnify Sun and its licensors from and against
|
||||||
|
# any damages, costs, liabilities, settlement amounts and/or expenses
|
||||||
|
# (including attorneys' fees) incurred in connection with any claim, lawsuit or
|
||||||
|
# action by any third party that arises or results from the use or distribution
|
||||||
|
# of any and all Programs and/or Redistributable.
|
||||||
|
restricted=yes
|
||||||
|
ignore_elf_dirs="/usr/share/java/lib"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
_arch="amd64"
|
_arch="amd64"
|
||||||
|
@ -32,5 +41,7 @@ do_install() {
|
||||||
vcopy lib/libmlib_jai.so usr/share/java/lib/${_jarch}
|
vcopy lib/libmlib_jai.so usr/share/java/lib/${_jarch}
|
||||||
# put the license files in place
|
# put the license files in place
|
||||||
vmkdir usr/share/licenses/${pkgname}
|
vmkdir usr/share/licenses/${pkgname}
|
||||||
vcopy *-jai.txt usr/share/licenses/${pkgname}
|
for _license in *.txt; do
|
||||||
|
vlicense "$_license"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue