diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2012-11-30 14:49:50 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2012-11-30 14:49:50 +0000 |
commit | f14a07b4af7a885fb651bd94627b189bc8b89e98 (patch) | |
tree | c7b2c9623199693c03443e05698f24feb721ecae /x11-plugins/monto | |
parent | old (diff) | |
download | gentoo-2-f14a07b4af7a885fb651bd94627b189bc8b89e98.tar.gz gentoo-2-f14a07b4af7a885fb651bd94627b189bc8b89e98.tar.bz2 gentoo-2-f14a07b4af7a885fb651bd94627b189bc8b89e98.zip |
Clean ebuild, respect CC, reported by ago in bug #444942
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
Diffstat (limited to 'x11-plugins/monto')
-rw-r--r-- | x11-plugins/monto/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/monto/monto-0.1.1-r1.ebuild | 37 |
2 files changed, 43 insertions, 1 deletions
diff --git a/x11-plugins/monto/ChangeLog b/x11-plugins/monto/ChangeLog index 70632f67c16c..474481d5e14e 100644 --- a/x11-plugins/monto/ChangeLog +++ b/x11-plugins/monto/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-plugins/monto # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/monto/ChangeLog,v 1.3 2012/11/27 13:38:10 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/monto/ChangeLog,v 1.4 2012/11/30 14:49:50 voyageur Exp $ + +*monto-0.1.1-r1 (30 Nov 2012) + + 30 Nov 2012; Bernard Cafarelli <voyageur@gentoo.org> +monto-0.1.1-r1.ebuild: + Clean ebuild, respect CC, reported by ago in bug #444942 27 Nov 2012; Agostino Sarubbo <ago@gentoo.org> monto-0.1.1.ebuild: Add ~amd64 diff --git a/x11-plugins/monto/monto-0.1.1-r1.ebuild b/x11-plugins/monto/monto-0.1.1-r1.ebuild new file mode 100644 index 000000000000..66c0469ec263 --- /dev/null +++ b/x11-plugins/monto/monto-0.1.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/monto/monto-0.1.1-r1.ebuild,v 1.1 2012/11/30 14:49:50 voyageur Exp $ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a simple manual device mounter (up to four devices)" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/274" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/274/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +S="${S}/src" + +src_prepare() { + sed -i -e "s/-o monto/\$(LDFLAGS) -o monto/" \ + -e 's/gcc/$(CC)/' Makefile || die "sed failed" +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dodoc ../AUTHORS ../NEWS ../README + dobin ${PN} +} |