Magellan Linux

Annotation of /trunk/extras/libmtp/libmtp-1.0.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4601 - (hide annotations) (download)
Fri Dec 25 20:34:01 2009 UTC (14 years, 4 months ago) by niro
File size: 833 byte(s)
-fixed SRCFILE
1 niro 4590 # $Id$
2    
3     PNAME="libmtp"
4     PVER="1.0.1"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)."
11     HOMEPAGE="http://libmtp.sourceforge.net/"
12    
13     DEPEND=">= dev-libs/libusb-0.1.12"
14    
15 niro 4601 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 niro 4590 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude mbuild mtools
19    
20     SRC_URI=(
21 niro 4600 sourceforge://${PNAME}/${SRCFILE}
22 niro 4590 mirror://${PNAME}/${SRCFILE}
23     )
24    
25 niro 4600 UP2DATE="updatecmd_sourceforge ${PNAME}"
26 niro 4590
27     src_compile()
28     {
29     cd ${SRCDIR}
30    
31     mconfigure --enable-shared || die
32     mmake || die
33     }
34    
35     src_install()
36     {
37     cd ${SRCDIR}
38     mmake DESTDIR=${BINDIR} install || die
39    
40     # udev rules
41     minstalludevrule libmtp.rules 65-mtp.rules || die
42    
43     # hal information
44     minstallhalinformation libmtp.fdi 10-libmtp.fdi || die
45    
46     minstalldocs AUTHORS ChangeLog COPYING README TODO || die
47     }

Properties

Name Value
svn:keywords Id