diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild')
-rw-r--r-- | x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild new file mode 100644 index 000000000000..16630b9e9e23 --- /dev/null +++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +MY_P=${PN/grabi/GrabI} + +DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it" +SRC_URI="http://dockapps.windowmaker.org/files/12/19/${MY_P}-${PV}.tgz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/12" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="" + +RDEPEND=">=net-misc/wget-1.9-r2 + >=media-gfx/imagemagick-5.5.7.15 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + >=sys-apps/sed-4.1.5-r1" + +S=${WORKDIR}/${MY_P}-${PV}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-noman.patch + sed -i -e 's/-geom /-geometry /' GrabImage || die "sed failed." + sed -i -e 's/install -s -m /install -m /' Makefile || die "sed failed." +} + +src_compile() { + emake clean || die "emake clean failed." + emake CFLAGS="${CFLAGS} -Wall" SYSTEM="${LDFLAGS}" || die "emake failed." +} + +src_install() { + dodir /usr/bin + emake DESTDIR="${D}/usr" install || die "einstall failed." + + doman wmGrabImage.1 + + dodoc ../{BUGS,CHANGES,HINTS,TODO} + + domenu "${FILESDIR}"/${PN}.desktop +} |