# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Gale is a secured instant messaging software" SRC_URI="http://download.ofb.net/gale/${P}fruit.tar.bz2" HOMEPAGE="http://www.gale.org/" SLOT="0" LICENSE="GPL" KEYWORDS="~x86" IUSE="" DEPEND="net-libs/adns dev-libs/openssl dev-libs/boehm-gc" src_unpack() { unpack ${A} mv gale-${PV}fruit ${P} } src_compile() { local myconf econf LDFLAGS="-ldl" \ --prefix=/usr \ --sysconfdir=/etc/ \ ${myconf} \ || die "./configure failed" make || die "make failed" } src_install() { myflags="" make DESTDIR=${D} ${myflags} install || die "make install failed" cd ${D}/usr/bin/ rm gksign ln -sf ../sbin/gksign gksign } pkg_postinst() { ewarn "Now, Run the 'gale-install' script that was installed." ewarn "This may ask questions if it can't find a previous configuration." ewarn "Feel free to interrupt and re-start it at any point. Finally, if " ewarn "you have not already set up your domain, you need to do so. Become" ewarn "the 'gale user' selected in the last step and run 'gale-install' " ewarn "again. Follow the directions; these will involve sending your key" ewarn "to the proper authority to get it signed." ewarn "See also http://gale.org" }