/[gentoo-x86]/media-gfx/gphoto/gphoto-2.0-r1.ebuild
Gentoo

Contents of /media-gfx/gphoto/gphoto-2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 1 01:00:05 2002 UTC (18 years, 3 months ago) by spider
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
theese are the ones moved to gphoto2

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author AJ Lewis <aj@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/media-gfx/gphoto/gphoto-2.0-r1.ebuild,v 1.1 2002/03/17 22:20:47 azarah Exp $
5
6 MY_P="${PN}2-`echo ${PV} |sed -e 's:_::'`"
7 S=${WORKDIR}/${MY_P}
8 DESCRIPTION="free, redistributable digital camera software application"
9 SRC_URI="http://www.gphoto.net/dist/${MY_P}.tar.gz"
10 HOMEPAGE="http://www.gphoto.org/"
11
12 DEPEND="virtual/glibc
13 >=dev-libs/libusb-0.1.5
14 >=dev-libs/glib-1.2.10
15 >=sys-libs/zlib-1.1.4"
16
17
18 src_compile() {
19
20 #update libtool to fix "relink" bug.
21 libtoolize --copy --force
22 aclocal
23
24 # -pipe does no work
25 env CFLAGS="${CFLAGS/-pipe/}" ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 || die
29
30 cp libgphoto2/Makefile libgphoto2/Makefile.orig
31 sed -e 's:$(prefix)/doc/gphoto2:/usr/share/doc/${PF}:' \
32 libgphoto2/Makefile.orig >libgphoto2/Makefile
33
34 make || die
35 }
36
37 src_install() {
38
39 make prefix=${D}/usr \
40 sysconfdir=${D}/etc \
41 gphotodocdir=${D}/usr/share/doc/${PF} \
42 HTML_DIR=${D}/usr/share/doc/${PF}/sgml \
43 install || die
44
45 dodoc ChangeLog NEWS* README
46 rm -rf ${D}/usr/share/doc/${PF}/sgml/gphoto2
47 }
48

  ViewVC Help
Powered by ViewVC 1.1.20