wok-next annotate adobe-air-sdk/receipt @ rev 21545
updated cgames (2.2 -> 2.2b)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 17:35:44 2020 +0100 (2020-06-21) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20500 | 1 # SliTaz package receipt v2. |
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@21020 | 9 WEB_SITE="https://get.adobe.com/air/" |
al@21048 | 10 HOST_ARCH="i486" |
al@20500 | 11 |
al@19489 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19489 | 13 WGET_URL="http://airdownload.adobe.com/air/lin/download/$VERSION/AdobeAIRSDK.tbz2" |
al@19489 | 14 |
al@21048 | 15 DEPENDS_std="nss gtk2 libxslt" |
al@21048 | 16 |
al@20500 | 17 compile_rules() { |
al@20500 | 18 mkdir -p \ |
al@20500 | 19 $install/opt/$PACKAGE/ \ |
al@20500 | 20 $install/usr/share/licenses/$PACKAGE/ \ |
al@20500 | 21 $install/usr/share/doc/$PACKAGE-$VERSION/ |
al@20500 | 22 cp -a $src/* $install/opt/$PACKAGE/ |
al@20500 | 23 ln -s "../../../../opt/$PACKAGE/AIR SDK license.pdf" $install/usr/share/licenses/$PACKAGE/ |
al@20500 | 24 ln -s "../../../../opt/$PACKAGE/AIR SDK Readme.txt" $install/usr/share/doc/$PACKAGE-$VERSION/ |
al@20500 | 25 ln -s "../../../../opt/$PACKAGE/samples" $install/usr/share/doc/$PACKAGE-$VERSION/ |
al@20500 | 26 ln -s "../../../../opt/$PACKAGE/templates" $install/usr/share/doc/$PACKAGE-$VERSION/ |
al@19489 | 27 |
al@20500 | 28 chown -Rch root:root $install |
al@20500 | 29 chmod -Rc u+w $install |
al@19489 | 30 } |
al@19489 | 31 |
al@20500 | 32 post_install() { |
al@19489 | 33 cat >> $1/etc/profile <<EOT |
al@19489 | 34 export AIR_HOME=/opt/$PACKAGE |
al@19489 | 35 export PATH="\$PATH:\$AIR_HOME/bin" |
al@19489 | 36 EOT |
al@19489 | 37 } |
al@19489 | 38 |
al@20500 | 39 post_remove() { |
al@19489 | 40 sed -i '/AIR_HOME/d' $1/etc/profile |
al@19489 | 41 } |