wok-6.x annotate adobe-air-sdk/receipt @ rev 23132
updated lilv (0.14.4 -> 0.24.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 14 13:44:55 2020 +0100 (2020-03-14) |
parents | |
children | 9c8ba5b98eb9 |
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" |
al@19489 | 9 WEB_SITE="http://get.adobe.com/air" |
al@19489 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19489 | 11 WGET_URL="http://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 } |