wok-6.x view aescrypt/receipt @ rev 7939
slitaz-mercurial-style: Almost migration finished
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 11 23:27:31 2011 +0100 (2011-01-11) |
parents | |
children | f9b49701bf22 |
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 else
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 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 src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source
32 mkdir -p $fs/usr/bin
33 cp -a $src/aescrypt $fs/usr/bin
34 }