wok-current annotate adobe-air-sdk/receipt @ rev 25687
Up expat CVE-2024-28757
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 15 07:23:20 2024 +0000 (5 months ago) |
parents | 9c8ba5b98eb9 |
children |
rev | line source |
---|---|
al@19489 | 1 # SliTaz package receipt. |
al@19489 | 2 |
al@19489 | 3 PACKAGE="adobe-air-sdk" |
al@19489 | 4 VERSION="2.6" |
al@19489 | 5 CATEGORY="non-free" |
al@19489 | 6 SHORT_DESC="Adobe Air Software Development Kit and Runtime Environment" |
al@19489 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19489 | 8 LICENSE="custom" |
pascal@25031 | 9 WEB_SITE="https://get.adobe.com/air" |
al@19489 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25504 | 11 WGET_URL="https://airdownload.adobe.com/air/lin/download/$VERSION/AdobeAIRSDK.tbz2" |
al@19489 | 12 |
al@19489 | 13 DEPENDS="nss gtk+ libxslt" |
al@19489 | 14 |
al@19489 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19489 | 16 genpkg_rules() |
al@19489 | 17 { |
al@19489 | 18 mkdir -p \ |
al@19489 | 19 $fs/opt/$PACKAGE \ |
al@19489 | 20 $fs/usr/share/licenses/$PACKAGE \ |
al@19489 | 21 $fs/usr/share/doc/$PACKAGE |
al@19489 | 22 cp -a $src/* $fs/opt/$PACKAGE |
al@19489 | 23 ln -s "../../../../opt/$PACKAGE/AIR SDK license.pdf" $fs/usr/share/licenses/$PACKAGE |
al@19489 | 24 ln -s "../../../../opt/$PACKAGE/AIR SDK Readme.txt" $fs/usr/share/doc/$PACKAGE |
al@19489 | 25 ln -s "../../../../opt/$PACKAGE/samples" $fs/usr/share/doc/$PACKAGE |
al@19489 | 26 ln -s "../../../../opt/$PACKAGE/templates" $fs/usr/share/doc/$PACKAGE |
al@19489 | 27 } |
al@19489 | 28 |
al@19489 | 29 post_install() |
al@19489 | 30 { |
al@19489 | 31 cat >> $1/etc/profile <<EOT |
al@19489 | 32 export AIR_HOME=/opt/$PACKAGE |
al@19489 | 33 export PATH="\$PATH:\$AIR_HOME/bin" |
al@19489 | 34 EOT |
al@19489 | 35 } |
al@19489 | 36 |
al@19489 | 37 post_remove() |
al@19489 | 38 { |
al@19489 | 39 sed -i '/AIR_HOME/d' $1/etc/profile |
al@19489 | 40 } |