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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Mar 22 20:42:28 2013 UTC (4 years, 11 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revbump to restore old zlib patch

(Portage version: 2.1.11.57/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

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-r1.ebuild,v 1.1 2013/03/21 21:27:08 hwoarang Exp $
4
5 EAPI=5
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Framebuffer screenshot utility"
10 HOMEPAGE="http://hem.bredband.net/gmogmo/fbgrab/"
11 SRC_URI="http://hem.bredband.net/gmogmo/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
16 IUSE=""
17
18 RDEPEND="media-libs/libpng
19 sys-libs/zlib"
20
21 DEPEND="${RDEPEND}"
22
23 src_prepare() {
24 sed -i \
25 -e "s/gcc/\$(CC)/" \
26 -e "s/-g//" \
27 -e "s/splint/#splint/" \
28 -e "s/-Wall/-Wall ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}/" \
29 Makefile || die "sed failed"
30
31 epatch "${FILESDIR}/${P}-zlib_h.patch"
32 epatch_user
33 }
34
35 src_compile() {
36 emake CC="$(tc-getCC)"
37 }
38
39 src_install() {
40 dobin ${PN}
41 newman ${PN}.1.man ${PN}.1
42 }

  ViewVC Help
Powered by ViewVC 1.1.20