wok annotate adobe-air-sdk/receipt @ rev 25706

BootProg/boot32.asm: add int 21h services 02h, 09h, 25h, 35h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 17:36:15 2024 +0000 (4 months ago)
parents 7f7bd3c9775e
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@25581 11 WGET_URL="https://web.archive.org/web/20171022224621if_/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 }