blob: e44c5b66f01f5f0c2dafb2dbe0dd9dadcd959eaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2006 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.ebuild,v 1.12 2006/11/04 21:52:06 lucass Exp $
DESCRIPTION="A simple but powerful tool to set desktop wallpaper"
HOMEPAGE="http://lubuska.zapto.org/~hoppke/"
SRC_URI="http://lubuska.zapto.org/~hoppke/yellow_brown/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
IUSE=""
RDEPEND="media-libs/imlib2
|| ( x11-libs/libX11 virtual/x11 )"
DEPEND="${RDEPEND}
|| ( x11-proto/xproto virtual/x11 )"
src_unpack() {
unpack "${A}"
cd "${S}"
# fix for as-needed, bug #141709
sed -e 's/gcc $(LDFLAGS) \(.*\)/gcc \1 $(LDFLAGS)/' -i src/Makefile
}
src_compile() {
emake || die "make failed"
}
src_install() {
dobin habak
dodoc ChangeLog README TODO COPYING ${FILESDIR}/README.en
}
|