wok-6.x view aescrypt/receipt @ rev 8477

Fixed aescrypt to work with new tazwok-experimental.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 07 19:11:59 2011 +0000 (2011-02-07)
parents 497bac03b968
children a5853667a4a4
line source
1 # SliTaz package receipt.
3 PACKAGE="aescrypt"
4 VERSION="305"
5 CATEGORY="security"
6 SHORT_DESC="AES Crypt is a file encryption software."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base"
9 TARBALL="${PACKAGE}${VERSION}_source.tar.gz"
10 WEB_SITE="http://www.aescrypt.com/"
11 WGET="http://www.aescrypt.com/cgi-bin/download?file=v3/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
17 tar xzf $SOURCES_REPOSITORY/$TARBALL
18 elif [ ! -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma ]; then
19 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
20 wget -O $SOURCES_REPOSITORY/$TARBALL "$WGET"
21 tar xzf $SOURCES_REPOSITORY/$TARBALL
22 fi
23 [ -d $WOK/$PACKAGE/${PACKAGE}${VERSION}_source ] && src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source
24 cd $src
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 [ -d $WOK/$PACKAGE/${PACKAGE}${VERSION}_source ] && src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source
32 mkdir -p $fs/usr/bin
33 cp -a $src/aescrypt $fs/usr/bin
34 }