Magellan Linux

Annotation of /trunk/core/gphoto2/gphoto2-2.4.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3954 - (hide annotations) (download)
Sat Nov 14 13:15:40 2009 UTC (14 years, 6 months ago) by niro
File size: 1178 byte(s)
-fixed UP2DATE
1 niro 3588 # $Id$
2    
3     PNAME="gphoto2"
4     PVER="2.4.7"
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.15
15     == media-libs/libgphoto2-${PVER}
16     >= media-libs/libexif-0.6
17     >= sys-libs/readline-6.0"
18    
19     SDEPEND=">= dev-util/pkgconfig-0.23"
20    
21     SRCFILE="${PNAME}-${PVER}.tar.gz"
22     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24     SRC_URI=(
25     sourceforge://${PNAME/2/}/${SRCFILE}
26     mirror://${PNAME}/${SRCFILE}
27     )
28    
29 niro 3954 UP2DATE="updatecmd_sourceforge ${PNAME/2/} ${PNAME/2/} - ${PNAME}"
30 niro 3588
31     # note1: we build this without aalib (--without-aalib) support
32     # and no console frontend --without-cdk (needs ncurses, cdk),
33    
34     src_prepare()
35     {
36     munpack ${SRCFILE} || die
37     }
38    
39     src_compile()
40     {
41     cd ${SRCDIR}
42    
43     mconfigure \
44     --without-cdk \
45     --without-aalib \
46     --with-exif-prefix=/usr \
47     --with-readline \
48     || die
49    
50     mmake || die
51     }
52    
53     src_install()
54     {
55     cd ${SRCDIR}
56    
57     minstall \
58     gphotodocdir=${BINDIR}/usr/share/doc/${PNAME}-${PVER} \
59     HTML_DIR=${BINDIR}/usr/share/doc/${PNAME}-${PVER}/sgml \
60     || die
61    
62     minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO || die
63     }

Properties

Name Value
svn:keywords Id