# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit flag-o-matic eutils toolchain-funcs IUSE="ffmpeg" DESCRIPTION="Somad, SomaClient, SomaCheck, libSoma" HOMEPAGE="http://www.somasuite.org" SRC_URI="http://www.somasuite.org/src/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" DEPEND="dev-libs/openssl >=sys-libs/ncurses-5.0 >=sys-libs/readline-5.0 dev-libs/libxml2" pkg_setup() { # if use php; then # myconf="${myconf} --enable-phpsoma" # fi # if use python; then # myconf="${myconf} --enable-pysoma" # fi if use ffmpeg;then myconf="${myconf} --enable-ffmpeg" fi } src_compile() { econf \ ${myconf} \ || die "econf failed" emake || die "emake failed" } src_install () { make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog README README.module } pkg_postinst() { einfo " *** *** ***" einfo "If you can afford to donate us some money let us know, we also need" einfo "new and old working hardware." einfo " " einfo "you can send a mail to" einfo " " einfo " mail: soma@inventati.org" einfo " or: bakunin@autistici.org" einfo " *** *** ***" }