Magellan Linux

Annotation of /smage/trunk/extras/flac/flac-1.3.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10576 - (hide annotations) (download)
Thu Aug 24 13:56:56 2017 UTC (6 years, 10 months ago) by niro
File size: 918 byte(s)
auto added: ver bump to 1.3.2-r1
1 niro 10574 # $Id$
2    
3     PNAME="flac"
4     PVER="1.3.2"
5     PBUILD="r1"
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 niro 10575 SRCFILE="${PNAME}-${PVER}.tar.xz"
24 niro 10574 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     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     }