1 # $NetBSD: Makefile,v 1.57 2012/10/02 23:48:09 asau Exp $
6 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=sox
/}
8 MAINTAINER
= pkgsrc-users@NetBSD.org
9 HOMEPAGE
= http
://sox.sourceforge.net
/
10 COMMENT
= SOund eXchange
- universal sound sample translator
11 LICENSE
= gnu-lgpl-v2.1 AND gnu-gpl-v2
13 PKG_INSTALLATION_TYPES
= overwrite pkgviews
18 USE_TOOLS
+= pkg-config
20 CONFIGURE_ARGS
+= --disable-gomp
21 CONFIGURE_ARGS
+= --without-libltdl
22 CONFIGURE_ENV
+= ac_cv_func_fmemopen
=no
24 PKGCONFIG_OVERRIDE
+= sox.
pc.in
27 SUBST_FILES.gsm
= configure src
/gsm.c src
/wav.c CMakeLists.txt
28 SUBST_SED.gsm
= -e
"s!gsm/gsm.h!gsm.h!"
29 SUBST_STAGE.gsm
= pre-configure
32 ${RMDIR} ${DESTDIR}${PREFIX}/lib
/sox
36 .
include "../../audio/flac/buildlink3.mk"
37 .
include "../../audio/gsm/buildlink3.mk"
38 .
include "../../audio/libmad/buildlink3.mk"
39 .
include "../../audio/libsamplerate/buildlink3.mk"
40 .
include "../../audio/libsndfile/buildlink3.mk"
41 .
include "../../audio/libvorbis/buildlink3.mk"
42 .
include "../../devel/zlib/buildlink3.mk"
43 .
include "../../graphics/png/buildlink3.mk"
44 .
include "../../sysutils/file/buildlink3.mk"
45 .
include "../../mk/bsd.pkg.mk"