/[gentoo-x86]/media-gfx/fbgrab/fbgrab-1.0.ebuild
Gentoo

Contents of /media-gfx/fbgrab/fbgrab-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Thu Jun 27 23:09:34 2013 UTC (4 years, 11 months ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
drop old

(Portage version: 2.1.12.2/cvs/Linux i686, signed Manifest commit with key 0xC42EB5D6)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/fbgrab/fbgrab-1.0.ebuild,v 1.16 2013/01/01 14:37:12 ago Exp $
4
5 EAPI=2
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="Framebuffer screenshot utility"
9 HOMEPAGE="http://hem.bredband.net/gmogmo/fbgrab/"
10 SRC_URI="http://hem.bredband.net/gmogmo/fbgrab/${PN}-1.0.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86"
15 IUSE=""
16
17 RDEPEND="media-libs/libpng
18 sys-libs/zlib"
19 DEPEND="${RDEPEND}"
20
21 S=${WORKDIR}/${PN}-1.0
22
23 src_prepare() {
24 sed -i \
25 -e "s:gcc :\$(CC) :" \
26 -e "s:splint:#splint:" \
27 -e "s:-Wall:-Wall ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}:" \
28 Makefile || die
29
30 epatch "${FILESDIR}"/${P}-zlib_h.patch
31 }
32
33 src_compile() {
34 emake CC="$(tc-getCC)" || die
35 }
36
37 src_install() {
38 dobin fbgrab || die
39 newman fbgrab.1.man fbgrab.1
40 }

  ViewVC Help
Powered by ViewVC 1.1.20