Magellan Linux

Contents of /branches/R11-stable/extras/lame/lame-3.99-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15185 - (show annotations) (download)
Wed Jan 2 10:55:34 2013 UTC (11 years, 4 months ago) by niro
File size: 981 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="lame"
4 PVER="3.99"
5 PBUILD="r2"
6
7 PCAT="media-sound"
8
9 DESCRIPTION="Lame - Ain't an MP3 Encoder, is an LGPL MP3 encoder."
10 HOMEPAGE="http://lame.sourceforge.net/"
11
12 DEPEND=">= sys-libs/ncurses-5.9
13 >= media-libs/libsndfile-1.0.24"
14
15 SDEPEND=">= dev-lang/nasm-2"
16
17 SRCFILE="${PNAME}-${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mtools mbuild multilib
21
22 SRC_URI=(
23 sourceforge://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2DATE="updatecmd_sourceforge ${PNAME}"
28
29 src_compile()
30 {
31 mconfigure \
32 --enable-shared \
33 --enable-nasm \
34 --enable-mp3rtp \
35 --disable-mp3x \
36 --enable-debug=no \
37 --with-fileio=sndfile \
38 || die
39
40 mmake -j1 || die
41 }
42
43 src_install()
44 {
45 mmake DESTDIR=${BINDIR} pkghtmldir=/usr/share/doc/${PNAME}-${PVER}/html install || die
46 minstallexec misc/mlame || die
47
48 # some missing docs
49 minstalldocs API ChangeLog HACKING README* STYLEGUIDE TODO USAGE || die
50 minstallhtml misc/lameGUI.html Dll/LameDLLInterface.htm || die
51 }