wok rev 7444

Add aescrypt.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 29 18:23:11 2010 +0000 (2010-11-29)
parents b7fe9af96d8a
children 97cc68735e5f
files aescrypt/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/aescrypt/receipt	Mon Nov 29 18:23:11 2010 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="aescrypt"
     1.7 +VERSION="305"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="AES Crypt is a file encryption software."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="glibc-base"
    1.12 +TARBALL="${PACKAGE}${VERSION}_source.tar.gz"
    1.13 +WEB_SITE="http://www.aescrypt.com/"
    1.14 +WGET="http://www.aescrypt.com/cgi-bin/download?file=v3/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
    1.20 +		tar xzf $SOURCES_REPOSITORY/$TARBALL
    1.21 +	else
    1.22 +		[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    1.23 +		wget -O $SOURCES_REPOSITORY/$TARBALL "$WGET"
    1.24 +		tar xzf $SOURCES_REPOSITORY/$TARBALL
    1.25 +	fi
    1.26 +	src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source
    1.27 +	cd $src
    1.28 +	make
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	src=$WOK/$PACKAGE/${PACKAGE}${VERSION}_source
    1.35 +	mkdir -p $fs/usr/bin
    1.36 +	cp -a $src/aescrypt $fs/usr/bin
    1.37 +}
    1.38 +