1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen"
8 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/"
9 SRC_URI="ftp://ftp.ac-grenoble.fr/ge/Xutils/${P}.tar.bz2"
13 KEYWORDS="amd64 ppc x86 ~amd64-linux"
25 media-fonts/font-misc-misc
35 DOCS=( AUTHORS Changelog README )
36 PATCHES=( "${FILESDIR}"/${P}-root_name.patch )
42 -e 's|/usr/share/locale|$(LOCALEDIR)|g' \
43 -e 's|/usr/share/man/man1|$(MANDIR)|g' \
44 -e '/cd po.*install/s|cd.*|$(MAKE) -C po LOCALEDIR=$(LOCALEDIR) install|' \
45 -e '21s|.*|LOCALEDIR = /usr/share/locale|' \
56 -e '/ CDEBUGFLAGS = /d' \
57 -e '/ CCOPTIONS = /d' \
58 -e 's|CPP = cpp|CPP = $(CC)|g' \
64 emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"