# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils flag-o-matic DESCRIPTION="Squirrel webmail (F)CGI application written in ANSI C to access Maildir/ via webserver (bundled also in courier MTA)" HOMEPAGE="http://sourceforge.net/projects/courier/" SRC_URI="http://downloads.sourceforge.net/sourceforge/courier/sqwebmail-5.3.2.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="dev-libs/libpcre net-libs/courier-authlib dev-lang/perl" RDEPEND="" src_compile() { ./configure \ --prefix=/usr \ --enable-https \ --enable-cgibindir=/var/www/localhost/cgi-bin \ --enable-imagedir=/var/www/localhost/icons || die "./configure failed" emake || die "emake failed" } src_install(){ echo "Going to install sqwebmail into ${D}/usr" emake -j1 DESTDIR="${D}" install || die "make install failed" }