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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Mar 11 23:48:08 2002 UTC (18 years, 4 months ago) by azarah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
new version

1 # Copyright 1999-2000 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
5 MY_P="${PN}-`echo ${PV} |sed -e 's:_::'`"
6 S=${WORKDIR}/${MY_P}
7 DESCRIPTION="free, redistributable digital camera software application"
8 SRC_URI="http://www.gphoto.net/dist/${MY_P}.tar.gz"
9 HOMEPAGE="http://www.gphoto.org/"
10
11 DEPEND="virtual/glibc
12 >=dev-libs/libusb-0.1.3b
13 >=dev-libs/glib-1.2.10
14 >=sys-libs/zlib-1.1.3"
15
16
17 src_compile() {
18
19 # -pipe does no work
20 env CFLAGS="${CFLAGS/-pipe/}" ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 || die
24
25 cp libgphoto2/Makefile libgphoto2/Makefile.orig
26 sed -e 's:$(prefix)/doc/gphoto2:/usr/share/doc/${PF}:' \
27 libgphoto2/Makefile.orig >libgphoto2/Makefile
28
29 make || die
30 }
31
32 src_install() {
33
34 make prefix=${D}/usr \
35 sysconfdir=${D}/etc \
36 gphotodocdir=${D}/usr/share/doc/${PF} \
37 HTML_DIR=${D}/usr/share/doc/${PF}/sgml \
38 install || die
39
40 dodoc ChangeLog NEWS* README
41 rm -rf ${D}/usr/share/doc/${PF}/sgml/gphoto2
42 }
43

  ViewVC Help
Powered by ViewVC 1.1.20