/[gentoo-x86]/media-gfx/gphoto2/gphoto2-2.5.0.ebuild
Gentoo

Contents of /media-gfx/gphoto2/gphoto2-2.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 21 11:28:20 2012 UTC (9 months, 4 weeks ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Version bump, drop old.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.4.14.ebuild,v 1.1 2012/06/30 12:39:03 pacho Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="free, redistributable digital camera software application"
8 HOMEPAGE="http://www.gphoto.org/"
9 SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
14 IUSE="aalib exif ncurses nls readline"
15
16 # aalib -> needs libjpeg
17 # raise libgphoto to get a proper .pc
18 RDEPEND="virtual/libusb:0
19 dev-libs/popt
20 >=media-libs/libgphoto2-2.5.0[exif?]
21 ncurses? ( dev-libs/cdk )
22 aalib? (
23 media-libs/aalib
24 virtual/jpeg:0 )
25 exif? ( media-libs/libexif )
26 readline? ( sys-libs/readline )"
27 DEPEND="${RDEPEND}
28 virtual/pkgconfig
29 nls? ( >=sys-devel/gettext-0.14.1 )"
30
31 src_configure() {
32 CPPFLAGS="-I/usr/include/cdk" econf \
33 --docdir=/usr/share/doc/${PF} \
34 $(use_with aalib) \
35 $(use_with aalib jpeg) \
36 $(use_with exif libexif auto) \
37 $(use_with ncurses cdk) \
38 $(use_enable nls) \
39 $(use_with readline)
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" \
44 HTML_DIR="${D}"/usr/share/doc/${PF}/sgml \
45 install
46
47 dodoc ChangeLog NEWS* README AUTHORS
48 rm -rf "${D}"/usr/share/doc/${PF}/sgml/gphoto2
49 }

  ViewVC Help
Powered by ViewVC 1.1.13