blob: 19a48aeb0814f0c26123f8d30d84b216dab1cf71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.1.8.ebuild,v 1.4 2006/09/23 18:58:09 nixnut Exp $
DESCRIPTION="A slim GTK-based image browser"
HOMEPAGE="http://gimmage.berlios.de/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug"
DEPEND=">=dev-cpp/gtkmm-2.6.2
net-misc/curl
sys-apps/file"
#RDEPEND=${DEPEND} the same as DEPEND
src_compile()
{
sed -i -e 's:/usr/local:/usr:g' Makefile
if use debug; then
einfo "Enabling debugging"
emake debug || die "emake debug failed"
else
emake || die "emake failed"
fi
}
src_install() {
exeinto /usr/bin
if use debug; then
doexe ${PN}-debug || die "installing debug failed"
else
doexe ${PN} || die "installing failed"
fi
dodir /usr/share/${PN}/icons
insinto /usr/share/${PN}/icons
doins icons/*.png
}
|