1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="A simple but powerful tool to set desktop wallpaper"
9 HOMEPAGE="http://home.gna.org/fvwm-crystal/"
10 SRC_URI="http://download.gna.org/fvwm-crystal/${PN}/${PV}/${P}.tar.bz2"
14 KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
17 RDEPEND="media-libs/imlib2[X]
22 # Skip into the src directory so we avoid a recursive make call that
23 # is going to break parallel make.
24 S="${WORKDIR}/${P}/src"
26 DOCS=( ChangeLog README TODO "${FILESDIR}"/README.en )
31 -e '/(LDFLAGS)/s:$: -lImlib2 -lm -lX11:' \
33 "${S}"/Makefile || die "Makefile fixing failed"
37 emake CC="$(tc-getCC)" ${PN}
42 cd "${WORKDIR}/${P}" || die