pkgsrc/audio/sox/Makefile
drochner 8377abec11 -revert last change to the "oss" option handling, it used "configure"
arguments which don't work (but keep inclusion of oss.bl3.mk)
-ignore fmemopen(3) -- the code assumes too much if this is found,
 fixes build on NetBSD-current
2010-10-30 15:07:42 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.52 2010/10/30 15:07:42 drochner Exp $
DISTNAME= sox-14.3.1
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sox.sourceforge.net/
COMMENT= SOund eXchange - universal sound sample translator
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
#USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-gomp
CONFIGURE_ARGS+= --without-libltdl
CONFIGURE_ENV+= ac_cv_func_fmemopen=no
PKGCONFIG_OVERRIDE+= sox.pc.in
SUBST_CLASSES+= gsm
SUBST_FILES.gsm= configure src/gsm.c src/wav.c CMakeLists.txt
SUBST_SED.gsm= -e "s!gsm/gsm.h!gsm.h!"
SUBST_STAGE.gsm= pre-configure
post-install:
${RMDIR} ${DESTDIR}${PREFIX}/lib/sox
.include "options.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/gsm/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"