summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-28 04:50:25 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-28 04:50:25 +0000
commit54d86448b50a28b4df3ad11c201677ef6a3cc9e5 (patch)
treeac41cb66d73f4bdb8b1a039eeb2df5309f4665b5 /media-gfx/gphoto
parentAdded libapreq dep. (diff)
downloadgentoo-2-54d86448b50a28b4df3ad11c201677ef6a3cc9e5.tar.gz
gentoo-2-54d86448b50a28b4df3ad11c201677ef6a3cc9e5.tar.bz2
gentoo-2-54d86448b50a28b4df3ad11c201677ef6a3cc9e5.zip
cleanup
Diffstat (limited to 'media-gfx/gphoto')
-rw-r--r--media-gfx/gphoto/gphoto-0.4.3-r1.ebuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/media-gfx/gphoto/gphoto-0.4.3-r1.ebuild b/media-gfx/gphoto/gphoto-0.4.3-r1.ebuild
index f99d5d7e10a4..b8f5c6f849e1 100644
--- a/media-gfx/gphoto/gphoto-0.4.3-r1.ebuild
+++ b/media-gfx/gphoto/gphoto-0.4.3-r1.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# 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-0.4.3-r1.ebuild,v 1.1 2001/10/06 17:22:51 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto/gphoto-0.4.3-r1.ebuild,v 1.2 2002/04/28 04:50:25 seemant Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="free, redistributable digital camera software application"
-SRC_URI="http://www.gphoto.net/dist/${A}"
+SRC_URI="http://www.gphoto.net/dist/${P}.tar.gz"
HOMEPAGE="http://www.gphoto.org"
DEPEND="virtual/glibc
@@ -17,16 +16,16 @@ DEPEND="virtual/glibc
src_compile() {
- # -pipe does no work
- CFLAGS="${CFLAGS/-pipe}"
- try ./configure --prefix=/usr --sysconfdir=/etc/gnome
- try make clean
- try pmake
+ # -pipe does no work
+ CFLAGS="${CFLAGS/-pipe}"
+ ./configure --prefix=/usr --sysconfdir=/etc/gnome || die
+ make clean || die
+ pmake || die
}
src_install() {
- try make prefix=${D}/usr sysconfdir=${D}/etc/gnome install
- dodoc AUTHORS CONTACTS COPYING ChangeLog FAQ MANUAL NEWS* PROGRAMMERS \
- README THANKS THEMES TODO
+ make prefix=${D}/usr sysconfdir=${D}/etc/gnome install || die
+ dodoc AUTHORS CONTACTS COPYING ChangeLog FAQ MANUAL NEWS* PROGRAMMERS \
+ README THANKS THEMES TODO
}