Magellan Linux

Annotation of /smage/branches/alx07x-stable/extras/libsndfile/libsndfile-1.0.26-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8861 - (hide annotations) (download)
Mon Feb 29 10:21:23 2016 UTC (8 years, 2 months ago) by niro
File size: 891 byte(s)
-release branches/alx07x-stable
1 niro 8451 # $Id$
2    
3     PNAME="libsndfile"
4     PVER="1.0.26"
5     PBUILD="r4"
6    
7     PCAT="media-libs"
8    
9     DESCRIPTION="libsndfile is a library for reading and writing files containing sampled sound."
10     HOMEPAGE="http://www.mega-nerd.com/libsndfile/"
11    
12     DEPEND=">= media-libs/flac-1.2.1
13     >= media-libs/alsa-lib-1.1"
14    
15     ALX_DEV_DEPEND=">= media-libs/flac-dev-1.2.1
16     >= media-libs/alsa-lib-dev-1.1"
17    
18     SDEPEND="${ALX_DEV_DEPEND}"
19    
20     SRCFILE="${PNAME}-${PVER}.tar.gz"
21     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22    
23     ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
24     sminclude mbuild multilib alx-split
25     msetfeature "!check"
26    
27     SRC_URI=(
28     http://www.mega-nerd.com/${PNAME}/files/${SRCFILE}
29     mirror://${PNAME}/${SRCFILE}
30     )
31    
32     UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz"
33    
34     src_compile()
35     {
36     mconfigure \
37     --disable-werror \
38     --disable-gcc-pipe \
39     --disable-dependency-tracking \
40     --disable-sqlite \
41     --enable-flac \
42     --enable-alsa \
43     || die
44    
45     mmake || die
46     }