wok-stable diff aescrypt/receipt @ rev 7863

tazpkg-web: exclude path from common files (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 01 21:19:34 2011 +0100 (2011-01-01)
parents
children f9b49701bf22
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/aescrypt/receipt	Sat Jan 01 21:19:34 2011 +0100
     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 +