/[gentoo-x86]/x11-plugins/wmgrabimage/wmgrabimage-0.72.ebuild
Gentoo

Contents of /x11-plugins/wmgrabimage/wmgrabimage-0.72.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Apr 11 07:45:14 2005 UTC (9 years, 5 months ago) by s4t4n
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Wiped out older revision.
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgrabimage/wmgrabimage-0.72.ebuild,v 1.5 2005/01/28 23:47:27 s4t4n Exp $
4
5 inherit eutils
6
7 IUSE=""
8
9 MY_P=${PN/grabi/GrabI}
10 S=${WORKDIR}/${MY_P}-${PV}/${MY_P}
11
12 DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it"
13 SRC_URI="http://nis-www.lanl.gov/~mgh/WindowMaker/${MY_P}-${PV}.tgz"
14 HOMEPAGE="http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml"
15
16 DEPEND="virtual/x11
17 >=net-misc/wget-1.9-r2
18 >=media-gfx/imagemagick-5.5.7.15"
19
20 SLOT="0"
21 LICENSE="GPL-2"
22 KEYWORDS="x86 ppc"
23
24 src_unpack()
25 {
26 unpack ${A}
27
28 cd ${S}
29 epatch ${FILESDIR}/${PN}-noman.patch
30 }
31
32 src_compile()
33 {
34 emake clean || die "clean failed"
35 emake CFLAGS="${CFLAGS} -Wall" || die "make failed"
36 }
37
38 src_install()
39 {
40 cd ${S}
41 dodir /usr/bin
42 einstall DESTDIR="${D}/usr" || die "make install failed"
43
44 doman wmGrabImage.1
45
46 cd ..
47 dodoc BUGS CHANGES HINTS TODO
48
49 insinto /usr/share/applications
50 doins ${FILESDIR}/${PN}.desktop
51 }

  ViewVC Help
Powered by ViewVC 1.1.20