Contents of /smage/trunk/extras/libsndfile/libsndfile-1.0.28-r3.smage2
Parent Directory | Revision Log
Revision 11788 -
(show annotations)
(download)
Fri Jan 12 10:19:54 2018 UTC (6 years, 8 months ago) by niro
File size: 891 byte(s)
Fri Jan 12 10:19:54 2018 UTC (6 years, 8 months ago) by niro
File size: 891 byte(s)
auto added: ver bump to 1.0.28-r3
1 | # $Id$ |
2 | |
3 | PNAME="libsndfile" |
4 | PVER="1.0.28" |
5 | PBUILD="r3" |
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 multilib mbuild 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 | } |