# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils php-lib MYP=${P/kolab-webadmin/kolab-webadmin-gentoo} DESCRIPTION="The kolab webadmin frontend" HOMEPAGE="http://www.kolab.org" SRC_URI="http://www.gunnarwrobel.de/downloads/${MYP}.tar.bz2" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="dev-php/smarty" S="${WORKDIR}" src_unpack() { unpack ${A} && cd "${S}" touch NEWS README AUTHORS ChangeLog autoreconf -f -i } src_compile() { local myconf myconf="${myconf} --prefix=/" myconf="${myconf} --sysconfdir=/etc" myconf="${myconf} --sbindir=/usr/sbin" myconf="${myconf} --bindir=/usr/bin" myconf="${myconf} --localstatedir=/var" myconf="${myconf} --libdir=/usr/lib" myconf="${myconf} --enable-dist=gentoo" myconf="${myconf} --enable-wsdocrootdir=/var/www/kolab" myconf="${myconf} --enable-phpdir=/usr/lib/php" myconf="${myconf} --enable-pkgdocdir=/usr/share/docs/${P}" ./configure ${myconf} || die emake || die } src_install() { make install DESTDIR=${D} || die touch ${D}/usr/lib/php/admin/templates_c/.keep # Library scripts # PHP_LIB_NAME="kolab-webadmin" # php-lib_src_install php admin # cd www # mkdir -p ${D}/var/www/kolab/ # cp -r admin ${D}/var/www/kolab/ # cd .. }