Annotation of /trunk/core/lame/lame-3.98.2-r2.smage2
Parent Directory | Revision Log
Revision 3535 -
(hide annotations)
(download)
Fri Oct 23 09:54:38 2009 UTC (14 years, 7 months ago) by niro
File size: 1070 byte(s)
Fri Oct 23 09:54:38 2009 UTC (14 years, 7 months ago) by niro
File size: 1070 byte(s)
auto added: ver bump to 3.98.2-r2
1 | niro | 3535 | # $Id$ |
2 | |||
3 | PNAME="lame" | ||
4 | PVER="3.98.2" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="media-sound" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Lame - Ain't an MP3 Encoder, is an LGPL MP3 encoder." | ||
11 | HOMEPAGE="http://lame.sourceforge.net/" | ||
12 | |||
13 | DEPEND=">= sys-libs/ncurses-5.7" | ||
14 | SDEPEND=">= dev-lang/nasm-2" | ||
15 | |||
16 | SRCFILE="${PNAME}-$(echo ${PVER} | sed -e 's:\.::' -e 's:\.:-:').tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-$(echo ${PVER} | sed -e 's:\.::' -e 's:\.:-:')" | ||
18 | |||
19 | sminclude mtools | ||
20 | |||
21 | SRC_URI=( | ||
22 | sourceforge://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd_sourceforge ${PNAME}" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | } | ||
32 | |||
33 | src_compile() | ||
34 | { | ||
35 | cd ${SRCDIR} | ||
36 | |||
37 | mconfigure \ | ||
38 | --enable-shared \ | ||
39 | --enable-nasm \ | ||
40 | --enable-mp3rtp \ | ||
41 | --disable-mp3x \ | ||
42 | --enable-debug=no \ | ||
43 | || die | ||
44 | |||
45 | mmake -j1 || die | ||
46 | } | ||
47 | |||
48 | src_install() | ||
49 | { | ||
50 | mmake DESTDIR=${BINDIR} pkghtmldir=/usr/share/doc/${PNAME}-${PVER}/html install || die | ||
51 | |||
52 | minstallexec misc/mlame || die | ||
53 | |||
54 | # some missing docs | ||
55 | minstalldocs API ChangeLog HACKING README* STYLEGUIDE TODO USAGE || die | ||
56 | minstallhtml misc/lameGUI.html Dll/LameDLLInterface.htm || die | ||
57 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |