/[gentoo-x86]/x11-plugins/wmdots/wmdots-0.2_beta.ebuild
Gentoo

Contents of /x11-plugins/wmdots/wmdots-0.2_beta.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Wed Feb 15 09:47:23 2012 UTC (2 years, 5 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +4 -4 lines
Update HOMEPAGE and SRC_URI, thanks Lorenz in bug #394607

(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmdots/wmdots-0.2_beta.ebuild,v 1.14 2010/09/13 07:54:18 s4t4n Exp $
4
5 inherit eutils multilib toolchain-funcs
6
7 DESCRIPTION="multishape 3d rotating dots"
8 HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/116"
9 SRC_URI="http://dockapps.windowmaker.org/download.php/id/153/${P/_/}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ~ppc x86"
14 IUSE=""
15
16 RDEPEND="x11-libs/libX11
17 x11-libs/libXext
18 x11-libs/libXpm"
19 DEPEND="${RDEPEND}"
20
21 S=${WORKDIR}/${PN}
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch "${FILESDIR}"/${P}-stringh.patch
27 sed -e "s:cc:$(tc-getCC):g" \
28 -e "s:-g -O2:${CFLAGS}:g" -i Makefile
29
30 #Fix compilation target
31 sed -e "s:wmifs:wmdots:" -i Makefile
32
33 #Honour Gentoo LDFLAGS, see bug #336982
34 sed -e "s:-o wmdots:\$(LDFLAGS) -o wmdots:" -i Makefile
35 }
36
37 src_compile() {
38 emake clean || die "emake clean failed."
39 emake LIBDIR="-L/usr/$(get_libdir)" || die "emake failed."
40 }
41
42 src_install() {
43 dobin wmdots
44 }

  ViewVC Help
Powered by ViewVC 1.1.20