# HG changeset patch # User Eric Joseph-Alexandre # Date 1255512074 0 # Node ID 02194e3210b89da9162b21f40ef15bc23c42e4e6 # Parent 437cbdbe612cf9d1f2df769afe36fc8521139f30 Add: mcrypt diff -r 437cbdbe612c -r 02194e3210b8 mcrypt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mcrypt/receipt Wed Oct 14 09:21:14 2009 +0000 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="mcrypt" +VERSION="2.6.8" +CATEGORY="system" +SHORT_DESC="Encryption" +MAINTAINER="erjo@@slitaz.org" +DEPENDS="" +BUILD_DEPENDS="libmcrypt-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://mcrypt.sourceforge.net/" +WGET_URL="http://downloads.sourceforge.net/project/mcrypt/MCrypt/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} +