Magellan Linux

Contents of /trunk/core/lame/lame-3.98.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 975 - (show annotations) (download)
Sun Dec 28 23:20:43 2008 UTC (15 years, 4 months ago) by niro
File size: 1156 byte(s)
-fixed dependencies
1 # $Header: /magellan-cvs/smage/lame/lame-3.97-r2.smage2,v 1.2 2008/02/13 21:13:54 niro Exp $
2
3 PNAME="lame"
4 PVER="3.98.2"
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 }

Properties

Name Value
svn:keywords Id