wok-current view adobe-air-sdk/receipt @ rev 24225
updated perl-io-socket-ssl (2.068 -> 2.073)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:41:39 2021 +0100 (2021-12-31) |
parents | |
children | 9c8ba5b98eb9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="adobe-air-sdk"
4 VERSION="2.6"
5 CATEGORY="non-free"
6 SHORT_DESC="Adobe Air Software Development Kit and Runtime Environment"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="http://get.adobe.com/air"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://airdownload.adobe.com/air/lin/download/$VERSION/AdobeAIRSDK.tbz2"
13 DEPENDS="nss gtk+ libxslt"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p \
19 $fs/opt/$PACKAGE \
20 $fs/usr/share/licenses/$PACKAGE \
21 $fs/usr/share/doc/$PACKAGE
22 cp -a $src/* $fs/opt/$PACKAGE
23 ln -s "../../../../opt/$PACKAGE/AIR SDK license.pdf" $fs/usr/share/licenses/$PACKAGE
24 ln -s "../../../../opt/$PACKAGE/AIR SDK Readme.txt" $fs/usr/share/doc/$PACKAGE
25 ln -s "../../../../opt/$PACKAGE/samples" $fs/usr/share/doc/$PACKAGE
26 ln -s "../../../../opt/$PACKAGE/templates" $fs/usr/share/doc/$PACKAGE
27 }
29 post_install()
30 {
31 cat >> $1/etc/profile <<EOT
32 export AIR_HOME=/opt/$PACKAGE
33 export PATH="\$PATH:\$AIR_HOME/bin"
34 EOT
35 }
37 post_remove()
38 {
39 sed -i '/AIR_HOME/d' $1/etc/profile
40 }