wok-next view adobe-air-sdk/receipt @ rev 19645
Remove mesa-dri-ati, mesa-dri-intel, mesa-dri-nouveau, mesa-dri-vmwgfx -> mesa-dri. Split llvm. Up/add xorg apps and some other stuff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 03:43:01 2017 +0200 (2017-02-22) |
parents | |
children | a8e106e92cc2 |
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 }