wok view aescrypt/receipt @ rev 7712

yasr: add post install
author Paul Issott <paul@slitaz.org>
date Sun Dec 19 15:51:06 2010 +0000 (2010-12-19)
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 }