Magellan Linux

Contents of /branches/magellan-next/core/lame/lame-3.98.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6600 - (show annotations) (download)
Mon Sep 6 18:23:41 2010 UTC (13 years, 8 months ago) by niro
File size: 1125 byte(s)
auto added: ver bump to 3.98.4-r1
1 # $Id: lame-3.98.2-r3.smage2 3621 2009-10-27 15:31:34Z niro $
2
3 PNAME="lame"
4 PVER="3.98.4"
5 PBUILD="r1"
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 }