Magellan Linux

Contents of /smage/branches/alx07x-unstable/extras/flac/flac-1.3.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12363 - (show annotations) (download)
Mon Sep 3 13:24:37 2018 UTC (5 years, 7 months ago) by niro
File size: 918 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="flac"
4 PVER="1.3.2"
5 PBUILD="r2"
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.xz"
24 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25
26 ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
27 sminclude multilib mbuild alx-split
28 msetfeature "!check"
29
30 SRC_URI=(
31 http://downloads.xiph.org/releases/${PNAME}/${SRCFILE}
32 mirror://${PNAME}/${SRCFILE}
33 )
34
35 UP2DATE="updatecmd http://downloads.xiph.org/releases/${PNAME} | highesttarball xz"
36
37 src_compile()
38 {
39 mconfigure \
40 --disable-static \
41 --disable-rpath \
42 --with-pic \
43 --enable-ogg \
44 --disable-xmms-plugin \
45 --disable-thorough-tests \
46 || die
47
48 mmake || die
49 }