Contents of /branches/R11-stable/extras/lame/lame-3.99.5-r1.smage2
Parent Directory | Revision Log
Revision 20861 -
(show annotations)
(download)
Tue Feb 11 10:02:18 2014 UTC (10 years, 7 months ago) by niro
File size: 1049 byte(s)
Tue Feb 11 10:02:18 2014 UTC (10 years, 7 months ago) by niro
File size: 1049 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="lame" |
4 | PVER="3.99.5" |
5 | PBUILD="r1" |
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 | # filter old versions which breaks the logic |
28 | UP2EXCLUDE="3.98" |
29 | UP2DATE="updatecmd_sourceforge ${PNAME} gz" |
30 | |
31 | src_compile() |
32 | { |
33 | mconfigure \ |
34 | --enable-shared \ |
35 | --enable-nasm \ |
36 | --enable-mp3rtp \ |
37 | --disable-mp3x \ |
38 | --enable-debug=no \ |
39 | --with-fileio=sndfile \ |
40 | || die |
41 | |
42 | mmake -j1 || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | mmake DESTDIR=${BINDIR} pkghtmldir=/usr/share/doc/${PNAME}-${PVER}/html install || die |
48 | minstallexec misc/mlame || die |
49 | |
50 | # some missing docs |
51 | minstalldocs API ChangeLog HACKING README* STYLEGUIDE TODO USAGE || die |
52 | minstallhtml misc/lameGUI.html Dll/LameDLLInterface.htm || die |
53 | } |