Magellan Linux

Annotation of /trunk/extras/gphoto2/gphoto2-2.4.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1198 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/gphoto2/gphoto2-2.4.0-r1.smage2,v 1.1 2008/02/15 13:51:45 niro Exp $
2    
3     PNAME="gphoto2"
4     PVER="2.4.0"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-gfx"
8     STATE="unstable"
9    
10     DESCRIPTION="gphoto2 is a command line client to for the libgphoto2."
11     HOMEPAGE="http://www.gphoto.org/"
12    
13     DEPEND=">= dev-libs/libusb-0.1.12
14     >= dev-libs/popt-1.13
15     == media-libs/libgphoto2-${PVER}
16     >= media-libs/libexif-0.6
17     >= sys-libs/readline-5.2"
18    
19     SDEPEND=">= dev-util/pkgconfig-0.20"
20    
21     SRCFILE="${PNAME}-${PVER}.tar.gz"
22     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24     SRC_URI=(
25     sourceforge://gphoto/${SRCFILE}
26     mirror://${PNAME}/${SRCFILE}
27     )
28    
29     # note1: we build this without aalib (--without-aalib) support
30     # and no console frontend --without-cdk (needs ncurses, cdk),
31    
32     src_prepare()
33     {
34     munpack ${SRCFILE} || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40    
41     mconfigure \
42     --without-cdk \
43     --without-aalib \
44     --with-exif-prefix=/usr \
45     --with-readline \
46     || die
47    
48     mmake || die
49     }
50    
51     src_install()
52     {
53     cd ${SRCDIR}
54    
55     minstall \
56     gphotodocdir=${BINDIR}/usr/share/doc/${PNAME}-${PVER} \
57     HTML_DIR=${BINDIR}/usr/share/doc/${PNAME}-${PVER}/sgml \
58     || die
59    
60     minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO || die
61     }

Properties

Name Value
svn:keywords Id