wok annotate aescrypt/receipt @ rev 7948
Up: eaccelerator to 0.9.6.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jan 15 14:32:15 2011 +0000 (2011-01-15) |
parents | |
children | f9b49701bf22 |
rev | line source |
---|---|
slaxemulator@7444 | 1 # SliTaz package receipt. |
slaxemulator@7444 | 2 |
slaxemulator@7444 | 3 PACKAGE="aescrypt" |
slaxemulator@7444 | 4 VERSION="305" |
slaxemulator@7444 | 5 CATEGORY="security" |
slaxemulator@7444 | 6 SHORT_DESC="AES Crypt is a file encryption software." |
slaxemulator@7444 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7444 | 8 DEPENDS="glibc-base" |
slaxemulator@7444 | 9 TARBALL="${PACKAGE}${VERSION}_source.tar.gz" |
slaxemulator@7444 | 10 WEB_SITE="http://www.aescrypt.com/" |
slaxemulator@7444 | 11 WGET="http://www.aescrypt.com/cgi-bin/download?file=v3/$TARBALL" |
slaxemulator@7444 | 12 |
slaxemulator@7444 | 13 # Rules to configure and make the package. |
slaxemulator@7444 | 14 compile_rules() |
slaxemulator@7444 | 15 { |
slaxemulator@7444 | 16 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then |
slaxemulator@7444 | 17 tar xzf $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@7444 | 18 else |
slaxemulator@7444 | 19 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced |
slaxemulator@7444 | 20 wget -O $SOURCES_REPOSITORY/$TARBALL "$WGET" |
slaxemulator@7444 | 21 tar xzf $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@7444 | 22 fi |
slaxemulator@7444 | 23 src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source |
slaxemulator@7444 | 24 cd $src |
slaxemulator@7444 | 25 make |
slaxemulator@7444 | 26 } |
slaxemulator@7444 | 27 |
slaxemulator@7444 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7444 | 29 genpkg_rules() |
slaxemulator@7444 | 30 { |
slaxemulator@7444 | 31 src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source |
slaxemulator@7444 | 32 mkdir -p $fs/usr/bin |
slaxemulator@7444 | 33 cp -a $src/aescrypt $fs/usr/bin |
slaxemulator@7444 | 34 } |
slaxemulator@7444 | 35 |