/[gentoo-x86]/app-arch/gtk-splitter/gtk-splitter-2.2.1-r1.ebuild
Gentoo

Contents of /app-arch/gtk-splitter/gtk-splitter-2.2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Sep 17 15:38:42 2014 UTC (4 years ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for ppc, wrt bug #512126

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/gtk-splitter/gtk-splitter-2.2.1-r1.ebuild,v 1.4 2014/07/22 19:21:36 pacho Exp $
4
5 EAPI="5"
6
7 inherit eutils
8
9 DESCRIPTION="Split files into smaller pieces and combine them back together"
10 HOMEPAGE="http://gtk-splitter.sourceforge.net"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 IUSE="crypt"
17
18 RDEPEND="x11-libs/gtk+:2
19 virtual/libintl:0
20 crypt? ( >=app-crypt/mhash-0.8:0 )"
21
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig:*"
24
25 src_prepare() {
26 epatch "${FILESDIR}/"${P}-r1-desktop-QA-fixes.patch
27 }
28
29 src_compile() {
30 default
31
32 if ! use crypt ; then
33 # configure script only autodetects
34 sed -i -e 's:-lmhash::' -e 's:-DHAVE_LIBMHASH=1::' src/Makefile || die
35 fi
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
40 }

  ViewVC Help
Powered by ViewVC 1.1.20