|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.4.ebuild,v 1.6 2005/04/20 01:43:56 eradicator Exp $ | # $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.4.ebuild,v 1.6 2005/04/20 01:43:56 eradicator Exp $ |
| |
IUSE="crypt ldap spell ssl virus-scan mysql postgres" |
IUSE="crypt ldap spell ssl virus-scan mysql postgres nls" |
| |
inherit webapp eutils | inherit webapp eutils |
| |
|
|
LDAP_VER=0.4 | LDAP_VER=0.4 |
SECURELOGIN_VER=1.2-1.2.8 | SECURELOGIN_VER=1.2-1.2.8 |
SHOWSSL_VER=2.1-1.2.8 | SHOWSSL_VER=2.1-1.2.8 |
|
LOCALES_VER=20050308 |
| |
MY_P=${P/_rc/-RC} | MY_P=${P/_rc/-RC} |
S="${WORKDIR}/${MY_P}" | S="${WORKDIR}/${MY_P}" |
|
|
${PLUGINS_LOC}/admin_add.${ADMINADD_VER}.tar.gz | ${PLUGINS_LOC}/admin_add.${ADMINADD_VER}.tar.gz |
virus-scan? ( ${PLUGINS_LOC}/virus_scan.${VSCAN_VER}.tar.gz ) | virus-scan? ( ${PLUGINS_LOC}/virus_scan.${VSCAN_VER}.tar.gz ) |
crypt? ( ${PLUGINS_LOC}/gpg.${GPG_VER}.tar.gz ) | crypt? ( ${PLUGINS_LOC}/gpg.${GPG_VER}.tar.gz ) |
ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_VER}.tar.gz )" |
ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_VER}.tar.gz ) |
|
nls? (mirror://sourceforge/${PN}/all_locales-${PV}-${LOCALES_VER}.tar.bz2)" |
| |
HOMEPAGE="http://www.squirrelmail.org/" | HOMEPAGE="http://www.squirrelmail.org/" |
| |
|
|
mv secure_login/config.php.sample secure_login/config.php && | mv secure_login/config.php.sample secure_login/config.php && |
unpack show_ssl_link-${SHOWSSL_VER}.tar.gz && | unpack show_ssl_link-${SHOWSSL_VER}.tar.gz && |
mv show_ssl_link/config.php.sample show_ssl_link/config.php | mv show_ssl_link/config.php.sample show_ssl_link/config.php |
|
|
|
use nls && |
|
cd ${S} && |
|
unpack all_locales-${PV}-${LOCALES_VER}.tar.bz2 |
} | } |
| |
src_compile() { | src_compile() { |