Contents of /smage/trunk/extras/flac/flac-1.2.1-r4.smage2
Parent Directory | Revision Log
Revision 8450 -
(show annotations)
(download)
Thu Jan 28 10:49:56 2016 UTC (8 years, 8 months ago) by niro
File size: 1070 byte(s)
Thu Jan 28 10:49:56 2016 UTC (8 years, 8 months ago) by niro
File size: 1070 byte(s)
-fixed sdeps
1 | # $Id$ |
2 | |
3 | PNAME="flac" |
4 | PVER="1.2.1" |
5 | PBUILD="r4" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="FLAC - Free Lossless Audio Codec." |
10 | HOMEPAGE="http://flac.sourceforge.net/" |
11 | |
12 | DEPEND=">= virtual/glibc |
13 | >= media-libs/libogg-1.2 |
14 | >= sys-libs/libstdc++-5.3" |
15 | |
16 | ALX_DEV_DEPEND=">= media-libs/libogg-dev-1.2 |
17 | >= sys-libs/libstdc++-dev-5.3" |
18 | |
19 | SDEPEND=">= dev-lang/nasm-2 |
20 | >= sys-apps/gawk-3 |
21 | ${ALX_DEV_DEPEND}" |
22 | |
23 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
25 | |
26 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
27 | sminclude mbuild multilib alx-split |
28 | msetfeature "!check" |
29 | |
30 | SRC_URI=( |
31 | sourceforge://${PNAME}/${SRCFILE} |
32 | mirror://${PNAME}/${SRCFILE} |
33 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
34 | ) |
35 | |
36 | UP2SUBSTITUTE="flac-" |
37 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-src | sed 's:-src::'" |
38 | |
39 | src_prepare() |
40 | { |
41 | munpack ${SRCFILE} |
42 | |
43 | # fix compilation with gcc-4.3 |
44 | mpatch ${PNAME}-${PVER}-gcc43.patch || die |
45 | } |
46 | |
47 | src_compile() |
48 | { |
49 | mconfigure \ |
50 | --disable-static \ |
51 | --disable-rpath \ |
52 | --with-pic \ |
53 | --enable-ogg \ |
54 | --disable-xmms-plugin \ |
55 | --disable-thorough-tests \ |
56 | || die |
57 | |
58 | mmake || die |
59 | } |