diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-03-17 22:20:47 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-03-17 22:20:47 +0000 |
commit | 42f1664e149ef8ec16e2d07c305c5451bedf85ec (patch) | |
tree | 3b48ddf23ce08068ea2cf5ad5b15c172a9fcb089 /media-gfx/gphoto | |
parent | new version in quest for GNUCash (diff) | |
download | gentoo-2-42f1664e149ef8ec16e2d07c305c5451bedf85ec.tar.gz gentoo-2-42f1664e149ef8ec16e2d07c305c5451bedf85ec.tar.bz2 gentoo-2-42f1664e149ef8ec16e2d07c305c5451bedf85ec.zip |
Libtoolize to fix not all libs installing
Diffstat (limited to 'media-gfx/gphoto')
-rw-r--r-- | media-gfx/gphoto/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/gphoto/files/digest-gphoto-2.0-r1 | 1 | ||||
-rw-r--r-- | media-gfx/gphoto/gphoto-2.0-r1.ebuild | 48 |
3 files changed, 56 insertions, 1 deletions
diff --git a/media-gfx/gphoto/ChangeLog b/media-gfx/gphoto/ChangeLog index a84a04de7095..d7644c091db0 100644 --- a/media-gfx/gphoto/ChangeLog +++ b/media-gfx/gphoto/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/gphoto # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto/ChangeLog,v 1.2 2002/03/11 23:48:08 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto/ChangeLog,v 1.3 2002/03/17 22:20:46 azarah Exp $ + +*gphoto-2.0-r1 (16 March 2002) + + 16 March 2002; M.Schlemmer <azarah@gentoo.org> : + + Libtoolize gphoto to properly fix the compile/missing libraries. *gphoto-2.0 (11 March 2002) diff --git a/media-gfx/gphoto/files/digest-gphoto-2.0-r1 b/media-gfx/gphoto/files/digest-gphoto-2.0-r1 new file mode 100644 index 000000000000..cc8b6c304bbe --- /dev/null +++ b/media-gfx/gphoto/files/digest-gphoto-2.0-r1 @@ -0,0 +1 @@ +MD5 f958d3c4b7238a8d6f1827da0d708941 gphoto2-2.0.tar.gz 1705979 diff --git a/media-gfx/gphoto/gphoto-2.0-r1.ebuild b/media-gfx/gphoto/gphoto-2.0-r1.ebuild new file mode 100644 index 000000000000..f4e4f1286fa4 --- /dev/null +++ b/media-gfx/gphoto/gphoto-2.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author AJ Lewis <aj@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto/gphoto-2.0-r1.ebuild,v 1.1 2002/03/17 22:20:47 azarah Exp $ + +MY_P="${PN}2-`echo ${PV} |sed -e 's:_::'`" +S=${WORKDIR}/${MY_P} +DESCRIPTION="free, redistributable digital camera software application" +SRC_URI="http://www.gphoto.net/dist/${MY_P}.tar.gz" +HOMEPAGE="http://www.gphoto.org/" + +DEPEND="virtual/glibc + >=dev-libs/libusb-0.1.5 + >=dev-libs/glib-1.2.10 + >=sys-libs/zlib-1.1.4" + + +src_compile() { + + #update libtool to fix "relink" bug. + libtoolize --copy --force + aclocal + + # -pipe does no work + env CFLAGS="${CFLAGS/-pipe/}" ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + || die + + cp libgphoto2/Makefile libgphoto2/Makefile.orig + sed -e 's:$(prefix)/doc/gphoto2:/usr/share/doc/${PF}:' \ + libgphoto2/Makefile.orig >libgphoto2/Makefile + + make || die +} + +src_install() { + + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + gphotodocdir=${D}/usr/share/doc/${PF} \ + HTML_DIR=${D}/usr/share/doc/${PF}/sgml \ + install || die + + dodoc ChangeLog NEWS* README + rm -rf ${D}/usr/share/doc/${PF}/sgml/gphoto2 +} + |