# ChangeLog for media-gfx/gphoto
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.4 2002/10/23 18:42:43 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.5 2002/11/06 11:38:56 seemant Exp $
*gphoto2-2.1.0 (23 Oct 2002)
+ 06 Nov 2002; Seemant Kulleen <seemant@gentoo.org> gphoto2-2.0-r1.ebuild
+ gphoto2-2.1.0.ebuild :
+
+ Introduced flag-o-matic inheritance to filter out the -pipe optimisation
+ flag. USE dependent NLS compilation. Man pages installed into FHS correct
+ locations.
+
23 Oct 2002 ; Spider <spider@gentoo.org> gphoto2-2.1.0.ebuild :
new ebuild introduced to bugzilla by
Robert Davis <rdavis@uniformcompany.com>
-
-
*gphoto2-2.0-r1 (01 April 2002)
19 Oct 2002; Calum Selkirk <cselkirk@gentoo.org> gphoto2-2.0-r1.ebuild :
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.0-r1.ebuild,v 1.9 2002/10/20 18:48:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.0-r1.ebuild,v 1.10 2002/11/06 11:38:56 seemant Exp $
inherit libtool
+inherit flag-o-matic
+
+IUSE="nls"
MY_P=${PN}-${PV/_/}
S=${WORKDIR}/${MY_P}
aclocal
# -pipe does no work
- env CFLAGS="${CFLAGS/-pipe/}" ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- || die
+ filter-flags -pipe
+
+ local myconf
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ econf ${myconf} || die
cp libgphoto2/Makefile libgphoto2/Makefile.orig
sed -e 's:$(prefix)/doc/gphoto2:/usr/share/doc/${PF}:' \
}
src_install() {
- make prefix=${D}/usr \
- sysconfdir=${D}/etc \
+ einstall \
gphotodocdir=${D}/usr/share/doc/${PF} \
HTML_DIR=${D}/usr/share/doc/${PF}/sgml \
- install || die
+ || die
dodoc ChangeLog NEWS* README
rm -rf ${D}/usr/share/doc/${PF}/sgml/gphoto2
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.1.0.ebuild,v 1.1 2002/10/23 18:42:43 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.1.0.ebuild,v 1.2 2002/11/06 11:38:56 seemant Exp $
inherit libtool
+inherit flag-o-matic
+
+IUSE="nls"
MY_P=${PN}-${PV/_/}
S=${WORKDIR}/${MY_P}
aclocal
# -pipe does no work
- env CFLAGS="${CFLAGS/-pipe/}" ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- || die
+ filter-flags -pipe
+
+ local myconf
+ use nls || myconf="${myconf} --disable-nls"
+ econf ${myconf}
cp libgphoto2/Makefile libgphoto2/Makefile.orig
sed -e 's:$(prefix)/doc/gphoto2:/usr/share/doc/${PF}:' \
src_install() {
- make prefix=${D}/usr \
- sysconfdir=${D}/etc \
+ einstall
gphotodocdir=${D}/usr/share/doc/${PF} \
HTML_DIR=${D}/usr/share/doc/${PF}/sgml \
- install || die
+ || die
dodoc ChangeLog NEWS* README
rm -rf ${D}/usr/share/doc/${PF}/sgml/gphoto2