Magellan Linux

Contents of /trunk/todo/sox/sox-14.0.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2587 - (show annotations) (download)
Thu Jul 9 20:35:45 2009 UTC (14 years, 10 months ago) by niro
File size: 1054 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/sox/sox-14.0.1-r1.smage2,v 1.1 2008/06/12 20:29:04 niro Exp $
2
3 PNAME="sox"
4 PVER="14.0.1"
5 PBUILD="r1"
6
7 PCATEGORIE="media-sound"
8 STATE="unstable"
9
10 DESCRIPTION="SoX is meant to be the Swiss Army Knife of sound processing utils."
11 HOMEPAGE="http://sox.sourceforge.net/"
12
13 DEPEND=">= virtual/glibc
14 >= media-libs/libmad-0.15
15 >= media-libs/alsa-lib-1.0.16
16 >= media-libs/libogg-1.1.3
17 >= media-libs/libvorbis-1.2
18 >= media-sound/lame-3.97
19 >= media-libs/flac-1.2
20 >= media-libs/libsndfile-1.0"
21
22 SRCFILE="${PNAME}-${PVER}.tar.gz"
23 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24
25 sminclude mbuild
26
27 SRC_URI=(
28 sourceforge://${PNAME}/${SRCFILE}
29 mirror://${PNAME}/${SRCFILE}
30 )
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 # fixes wav segfaults when played with oss-dsp
37 export CFLAGS="${CFLAGS} -fsigned-char"
38 export CXXFLAGS="${CFLAGS}"
39
40 mconfigure \
41 --enable-fast-ulaw \
42 --enable-fast-alaw \
43 --enable-oss-dsp \
44 --enable-alsa-dsp \
45 --with-oggvorbis \
46 --with-lame \
47 --with-mad \
48 --with-sndfile \
49 --with-flac \
50 || die
51
52 mmake || die
53 }

Properties

Name Value
svn:keywords Id