Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gaim-encryption CVS ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
candrews
Developer
Developer


Joined: 10 Aug 2005
Posts: 162

PostPosted: Tue Nov 08, 2005 8:32 am    Post subject: gaim-encryption CVS ebuild Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum