wok-current diff adobe-air-sdk/receipt @ rev 20163
Up ntfs-3g (2017.3.23), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 03 23:10:56 2018 +0100 (2018-01-03) |
parents | |
children | 9c8ba5b98eb9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/adobe-air-sdk/receipt Wed Jan 03 23:10:56 2018 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="adobe-air-sdk" 1.7 +VERSION="2.6" 1.8 +CATEGORY="non-free" 1.9 +SHORT_DESC="Adobe Air Software Development Kit and Runtime Environment" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="custom" 1.12 +WEB_SITE="http://get.adobe.com/air" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WGET_URL="http://airdownload.adobe.com/air/lin/download/$VERSION/AdobeAIRSDK.tbz2" 1.15 + 1.16 +DEPENDS="nss gtk+ libxslt" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p \ 1.22 + $fs/opt/$PACKAGE \ 1.23 + $fs/usr/share/licenses/$PACKAGE \ 1.24 + $fs/usr/share/doc/$PACKAGE 1.25 + cp -a $src/* $fs/opt/$PACKAGE 1.26 + ln -s "../../../../opt/$PACKAGE/AIR SDK license.pdf" $fs/usr/share/licenses/$PACKAGE 1.27 + ln -s "../../../../opt/$PACKAGE/AIR SDK Readme.txt" $fs/usr/share/doc/$PACKAGE 1.28 + ln -s "../../../../opt/$PACKAGE/samples" $fs/usr/share/doc/$PACKAGE 1.29 + ln -s "../../../../opt/$PACKAGE/templates" $fs/usr/share/doc/$PACKAGE 1.30 +} 1.31 + 1.32 +post_install() 1.33 +{ 1.34 + cat >> $1/etc/profile <<EOT 1.35 +export AIR_HOME=/opt/$PACKAGE 1.36 +export PATH="\$PATH:\$AIR_HOME/bin" 1.37 +EOT 1.38 +} 1.39 + 1.40 +post_remove() 1.41 +{ 1.42 + sed -i '/AIR_HOME/d' $1/etc/profile 1.43 +}