Magellan Linux

Contents of /trunk/extras/libsoundtouch/libsoundtouch-1.4.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4541 - (show annotations) (download)
Fri Dec 25 09:53:03 2009 UTC (14 years, 9 months ago) by niro
File size: 928 byte(s)
-several fixes
1 # $Id$
2
3 PNAME="libsoundtouch"
4 PVER="1.4.0"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="SoundTouch is a audio processing library for modifing audio streams."
11 HOMEPAGE="http://www.surina.net/soundtouch/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME/lib/}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME/lib/}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 http://www.surina.net/${PNAME/lib/}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-${PVER}-cflags.patch
24 )
25
26 UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME/lib/} | lasttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # fix CFLAGS
34 mpatch ${PNAME}-${PVER}-cflags.patch || die
35 }
36
37 src_install()
38 {
39 cd ${SRCDIR}
40 mmake DESTDIR=${BINDIR} install || die
41
42 # upstream changed pkgconfig filename
43 mlink ${PNAME/lib/}-1.4.pc /usr/$(mlibdir)/pkgconfig/${PNAME/lib/}-1.0.pc || die
44
45 minstalldocs COPYING.TXT README.html || die
46 }

Properties

Name Value
svn:keywords Id