# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Christian Rubbert S=${WORKDIR}/${P} DESCRIPTION="libmcrypt is a library that provides uniform interface to access several encryption algorithms." SRC_URI="ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt/${P}.tar.gz" HOMEPAGE="http://mcrypt.hellug.gr/" DEPEND="virtual/glibc" src_compile() { ./configure --host=${CHOST} \ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-posix-threads \ --sysconfdir=/etc || die # PHP manual states to disable posix threads, no further explanation given, but i'll # stick with it :) (Source: http://www.php.net/manual/en/ref.mcrypt.php) emake || die } src_install () { dodir /usr/{bin,include,lib} make prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ sysconfdir=${D}/etc \ install || die dodoc AUTHORS COPYING INSTALL KNOW-BUGS NEWS README THANKS TODO doc/README.* doc/example.c }