wok view 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
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="https://get.adobe.com/air"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://web.archive.org/web/20171022224621if_/https://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 }