diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-01-16 01:17:43 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-01-16 01:17:43 +0000 |
commit | f702070fd118ddaf023b5be894482b8e1d29354d (patch) | |
tree | e53f9d07307f30218cd46387588a8d58124022a4 /x11-plugins/wmget | |
parent | Version bump with ~amd64 keyworded. (diff) | |
download | gentoo-2-f702070fd118ddaf023b5be894482b8e1d29354d.tar.gz gentoo-2-f702070fd118ddaf023b5be894482b8e1d29354d.tar.bz2 gentoo-2-f702070fd118ddaf023b5be894482b8e1d29354d.zip |
Use correct AR and CC targets and remove X11R6 references from ebuild.
(Portage version: 2.1.4)
Diffstat (limited to 'x11-plugins/wmget')
-rw-r--r-- | x11-plugins/wmget/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/wmget/wmget-0.6.0.ebuild | 30 |
2 files changed, 22 insertions, 15 deletions
diff --git a/x11-plugins/wmget/ChangeLog b/x11-plugins/wmget/ChangeLog index bc87b99e4cc4..a079c138930a 100644 --- a/x11-plugins/wmget/ChangeLog +++ b/x11-plugins/wmget/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/wmget -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmget/ChangeLog,v 1.14 2007/07/22 05:06:52 dberkholz Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmget/ChangeLog,v 1.15 2008/01/16 01:17:43 drac Exp $ + + 16 Jan 2008; Samuli Suominen <drac@gentoo.org> wmget-0.6.0.ebuild: + Use correct AR and CC targets and remove X11R6 references from ebuild. 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; wmget-0.6.0.ebuild: Drop virtual/x11 references. diff --git a/x11-plugins/wmget/wmget-0.6.0.ebuild b/x11-plugins/wmget/wmget-0.6.0.ebuild index 7dd6f11c0787..f1ec9e9fb328 100644 --- a/x11-plugins/wmget/wmget-0.6.0.ebuild +++ b/x11-plugins/wmget/wmget-0.6.0.ebuild @@ -1,15 +1,17 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmget/wmget-0.6.0.ebuild,v 1.7 2007/07/22 05:06:52 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmget/wmget-0.6.0.ebuild,v 1.8 2008/01/16 01:17:43 drac Exp $ -IUSE="" -DESCRIPTION="libcurl-based dockapp for automated-downloads" +inherit toolchain-funcs + +DESCRIPTION="a libcurl based dockapp for automated downloads." HOMEPAGE="http://amtrickey.net/wmget/" SRC_URI="http://amtrickey.net/download/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" RDEPEND="x11-libs/libX11 x11-libs/libXext @@ -21,15 +23,17 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN} -src_compile() -{ - emake CFLAGS="${CFLAGS} -Wall -W -I/usr/X11R6/include" \ - || die "parallel make failed" +src_unpack() { + unpack ${A} + sed -i -e "s:ar rc:$(tc-getAR) rc:" "${S}"/dockapp/Makefile +} + +src_compile() { + emake -j1 CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed." } -src_install() -{ - dobin wmget - doman wmget.1 - dodoc NEWS TODO README +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc NEWS README TODO } |