candrews Developer
Joined: 10 Aug 2005 Posts: 162
|
Posted: Tue Nov 08, 2005 8:32 am Post subject: gaim-encryption CVS ebuild |
|
|
I created a CVS ebuild for gaim-encryption. I'm trying out gaim 2.0 from CVS (ebuild found at https://forums.gentoo.org/viewtopic-t-391871-postdays-0-postorder-asc-start-0.html) and I noticed that gaim-encryption doesn't seem to be compatible (it won't compile against it). So I decided to create a gaim-encryption CVS ebuild. However, it doesn't seem to compile against Gaim CVS either! Anyways, I figure I'd post it here in case it comes in useful for someone, or someone wants to help make it compile against Gaim 2.0
Code: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gaim-encryption/gaim-encryption-2.38.ebuild,v 1.11 2005/10/18 14:28:01 agriffis Exp $
inherit flag-o-matic debug multilib cvs
DESCRIPTION="GAIM Encryption PlugIn"
HOMEPAGE="http://gaim-encryption.sourceforge.net/"
#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
ECVS_SERVER="cvs.sourceforge.net:/cvsroot/gaim-encryption"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
ECVS_MODULE="encrypt"
S="${WORKDIR}/${ECVS_MODULE}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-*"
IUSE="firefox"
DEPEND=">=net-im/gaim-1.0.1
>=dev-libs/nss-3.9.2-r2"
src_unpack() {
cvs_src_unpack || die "Failed to retrieve CVS source"
cd ${S}
}
src_compile() {
strip-flags
replace-flags -O? -O2
sh ./autogen.sh
if use firefox ; then
sed -i -e "s|mozilla-nss|firefox-nss|
s|mozilla-nspr|firefox-nspr|" configure
fi
econf || die "Configuration failed"
emake -j1 || die "Make failed"
}
src_install() {
make install DESTDIR="${D}" || die "Install failed"
dodoc CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
} |
Enjoy! |
|