Annotation of /trunk/extras/libmtp/libmtp-1.0.1-r1.smage2
Parent Directory | Revision Log
Revision 4590 -
(hide annotations)
(download)
Fri Dec 25 20:14:14 2009 UTC (14 years, 4 months ago) by niro
File size: 873 byte(s)
Fri Dec 25 20:14:14 2009 UTC (14 years, 4 months ago) by niro
File size: 873 byte(s)
auto added: ver bump to 1.0.1-r1
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 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild mtools | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://cdn.last.fm/src/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd_sourceforge ${PNAME/lib/} ${PNAME/lib/}-src - ${PNAME/lib/}" | ||
26 | |||
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 |