Magellan Linux

Contents of /trunk/extras/lame/lame-3.97-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1063 byte(s)
import repo
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.97"
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.6
14 >= x11-libs/gtk1+-1.2"
15
16 SDEPEND=">= dev-lang/nasm-0.98.38"
17
18 SRCFILE="${PNAME}-${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mtools
22
23 SRC_URI=(
24 sourceforge://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
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 --enable-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