source: media-gfx/gphoto2/gphoto2-2.4.5.ebuild @ b016081

Revision b016081, 1.3 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

add exif corrected ebuild

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1523 6952d904-891a-0410-993b-d76249ca496b

  • Property mode set to 100644
Line 
1# Copyright 1999-2009 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.5.ebuild,v 1.4 2009/08/16 10:01:09 maekke Exp $
4
5EAPI=2
6
7inherit eutils
8
9DESCRIPTION="free, redistributable digital camera software application"
10HOMEPAGE="http://www.gphoto.org/"
11SRC_URI="mirror://sourceforge/gphoto/${P}.tar.gz"
12
13LICENSE="GPL-2"
14SLOT="0"
15KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
16IUSE="aalib exif ncurses nls readline"
17
18# aalib -> needs libjpeg
19# raise libgphoto to get a proper .pc
20RDEPEND="=virtual/libusb-0*
21        dev-libs/popt
22        >=media-libs/libgphoto2-2.4.5[exif]
23        ncurses? ( dev-libs/cdk )
24        aalib? (
25                media-libs/aalib
26                media-libs/jpeg )
27        exif? ( media-libs/libexif )
28        readline? ( sys-libs/readline )"
29DEPEND="${RDEPEND}
30        dev-util/pkgconfig
31        nls? ( >=sys-devel/gettext-0.14 )"
32
33src_configure() {
34        econf \
35                --docdir=/usr/share/doc/${PF} \
36                $(use_with aalib) \
37                $(use_with aalib jpeg) \
38                $(use_with exif libexif auto) \
39                $(use_with ncurses cdk) \
40                $(use_enable nls) \
41                $(use_with readline)
42}
43
44src_install() {
45        emake DESTDIR="${D}" \
46                HTML_DIR="${D}"/usr/share/doc/${PF}/sgml \
47                install || die "installation failed"
48
49        dodoc ChangeLog NEWS* README AUTHORS || die "dodoc failed"
50        rm -rf "${D}"/usr/share/doc/${PF}/sgml/gphoto2
51}
Note: See TracBrowser for help on using the repository browser.