Contents of /smage/trunk/extras/libsndfile/libsndfile-1.0.26-r3.smage2
Parent Directory | Revision Log
Revision 8448 -
(show annotations)
(download)
Thu Jan 28 10:46:57 2016 UTC (8 years, 3 months ago) by niro
File size: 862 byte(s)
Thu Jan 28 10:46:57 2016 UTC (8 years, 3 months ago) by niro
File size: 862 byte(s)
-alx-ify
1 | # $Id$ |
2 | |
3 | PNAME="libsndfile" |
4 | PVER="1.0.26" |
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 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
22 | sminclude mbuild multilib alx-split |
23 | msetfeature "!check" |
24 | |
25 | SRC_URI=( |
26 | http://www.mega-nerd.com/${PNAME}/files/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | ) |
29 | |
30 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" |
31 | |
32 | src_compile() |
33 | { |
34 | mconfigure \ |
35 | --disable-werror \ |
36 | --disable-gcc-pipe \ |
37 | --disable-dependency-tracking \ |
38 | --disable-sqlite \ |
39 | --enable-flac \ |
40 | --enable-alsa \ |
41 | || die |
42 | |
43 | mmake || die |
44 | } |