diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-02-04 12:51:29 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-02-04 12:51:29 +0000 |
commit | 14a982e50011e7484f74c579b1f25fd23eb898d3 (patch) | |
tree | f129104b88299fc4c67758e26c46375d7cbd2a5d /net-p2p/dclib/dclib-0.2.4.ebuild | |
parent | added gnome-mime-data to the 2.2 mask (diff) | |
download | historical-14a982e50011e7484f74c579b1f25fd23eb898d3.tar.gz historical-14a982e50011e7484f74c579b1f25fd23eb898d3.tar.bz2 historical-14a982e50011e7484f74c579b1f25fd23eb898d3.zip |
security update
Diffstat (limited to 'net-p2p/dclib/dclib-0.2.4.ebuild')
-rw-r--r-- | net-p2p/dclib/dclib-0.2.4.ebuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/net-p2p/dclib/dclib-0.2.4.ebuild b/net-p2p/dclib/dclib-0.2.4.ebuild index 6f46f6b2500a..c2a2e4220a0b 100644 --- a/net-p2p/dclib/dclib-0.2.4.ebuild +++ b/net-p2p/dclib/dclib-0.2.4.ebuild @@ -1,27 +1,32 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/dclib-0.2.4.ebuild,v 1.1 2003/02/02 10:20:28 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/dclib-0.2.4.ebuild,v 1.2 2003/02/04 12:51:29 aliz Exp $ inherit gcc -MY_P="${P/_/}" -S="${WORKDIR}/${MY_P}" +S="${WORKDIR}/${P}" DESCRIPTION="Library for the Qt client for DirectConnect" HOMEPAGE="http://dc.ketelhot.de/" -SRC_URI="http://download.berlios.de/dcgui/${MY_P}.tar.bz2" +SRC_URI="http://download.berlios.de/dcgui/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ppc" DEPEND=">=sys-apps/bzip2-1.0.2 >=dev-libs/libxml2-2.4.22" -src_compile() { - export CPPFLAGS="${CXXFLAGS} -I/usr/include/libxml2/libxml" +src_unpack() { + unpack ${A} + cd ${S} + if [ `gcc-major-version` == 2 ] ; then patch -p0 < ${FILESDIR}/${P}-gcc2.patch || die fi +} + +src_compile() { + export CPPFLAGS="${CXXFLAGS} -I/usr/include/libxml2/libxml" econf || die emake || die } |