Magellan Linux

Contents of /trunk/core/libsndfile/libsndfile-1.0.17-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 960 - (show annotations) (download)
Sun Dec 28 22:50:33 2008 UTC (15 years, 5 months ago) by niro
File size: 1461 byte(s)
-ups, musst do it for all abis
1 # $Header: /magellan-cvs/smage/libsndfile/libsndfile-1.0.17-r4.smage2,v 1.2 2008/02/13 20:36:28 niro Exp $
2
3 PNAME="libsndfile"
4 PVER="1.0.17"
5 PBUILD="r5"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="libsndfile is a library for reading and writing files containing sampled sound."
11 HOMEPAGE="http://www.mega-nerd.com/libsndfile/"
12
13 DEPEND=">= media-libs/flac-1.2.1
14 >= media-libs/alsa-lib-1.0.18"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mbuild multilib
20
21 SRC_URI=(
22 http://www.mega-nerd.com/${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-${PVER}-flac-buffer-overflow.patch
25 mirror://${PNAME}/${PNAME}-${PVER}-flac-1.1.3.patch
26 mirror://${PNAME}/${PNAME}-${PVER}-libtool22.patch
27 )
28
29 UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # security fix
37 mpatch ${PNAME}-${PVER}-flac-buffer-overflow.patch || die
38
39 # fix compilation with newer flac versions
40 mpatch ${PNAME}-${PVER}-flac-1.1.3.patch || die
41
42 # fix compilation with libtool-2
43 mpatch ${PNAME}-${PVER}-libtool22.patch || die
44
45 # fix for autoconf 2.62
46 all-abis 'sed -i "/AC_MSG_WARN(\[\[/d" acinclude.m4' || die
47 all-abis 'autoreconf --verbose --install --force' || die
48 }
49
50 src_compile()
51 {
52 mconfigure \
53 --disable-werror \
54 --disable-gcc-pipe \
55 --disable-dependency-tracking \
56 --disable-sqlite \
57 --enable-flac \
58 --enable-alsa \
59 || die
60
61 mmake || die
62 }

Properties

Name Value
svn:keywords Id