summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2009-08-15 14:58:07 +0000
committerHans de Graaff <graaff@gentoo.org>2009-08-15 14:58:07 +0000
commitc4471e950e7a357ac68263fbb3dc33f2bcfc4736 (patch)
treeae45b7ad1deb3f5477d442f56810d63915a3489f /x11-misc/habak
parentunused patch (diff)
downloadgentoo-2-c4471e950e7a357ac68263fbb3dc33f2bcfc4736.tar.gz
gentoo-2-c4471e950e7a357ac68263fbb3dc33f2bcfc4736.tar.bz2
gentoo-2-c4471e950e7a357ac68263fbb3dc33f2bcfc4736.zip
Switch to EAPI=2 and change built_with_use dependency.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/habak')
-rw-r--r--x11-misc/habak/ChangeLog9
-rw-r--r--x11-misc/habak/habak-0.2.5-r1.ebuild43
2 files changed, 50 insertions, 2 deletions
diff --git a/x11-misc/habak/ChangeLog b/x11-misc/habak/ChangeLog
index eaf3e59462ab..220fc276eaf5 100644
--- a/x11-misc/habak/ChangeLog
+++ b/x11-misc/habak/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/habak
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/habak/ChangeLog,v 1.39 2008/12/27 19:05:04 coldwind Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/habak/ChangeLog,v 1.40 2009/08/15 14:58:07 graaff Exp $
+
+*habak-0.2.5-r1 (15 Aug 2009)
+
+ 15 Aug 2009; Hans de Graaff <graaff@gentoo.org> +habak-0.2.5-r1.ebuild:
+ Switch to EAPI=2 and change built_with_use to a USE flag dependency.
27 Dec 2008; Santiago M. Mola <coldwind@gentoo.org> metadata.xml,
habak-0.2.5.ebuild:
diff --git a/x11-misc/habak/habak-0.2.5-r1.ebuild b/x11-misc/habak/habak-0.2.5-r1.ebuild
new file mode 100644
index 000000000000..ac675ee33f32
--- /dev/null
+++ b/x11-misc/habak/habak-0.2.5-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/habak/habak-0.2.5-r1.ebuild,v 1.1 2009/08/15 14:58:07 graaff Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A simple but powerful tool to set desktop wallpaper"
+HOMEPAGE="http://www.fvwm-crystal.org/"
+SRC_URI="http://download.gna.org/fvwm-crystal/${PN}/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/imlib2[X]
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+# Skip into the src directory so we avoid a recursive make call that
+# is going to break parallel make.
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+ sed -i \
+ -e '/(LDFLAGS)/s:$: -lImlib2 -lm:' \
+ -e 's:gcc:$(CC):' \
+ "${S}"/Makefile || die "Makefile fixing failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" ${PN} || die "make failed"
+}
+
+src_install() {
+ dobin ${PN} || die "dobin failed"
+
+ cd "${WORKDIR}/${P}"
+ dodoc ChangeLog README TODO "${FILESDIR}"/README.en || die "dodoc failed"
+}