pkgsrc/audio/spiralloops/Makefile

33 lines
922 B
Makefile

# $NetBSD: Makefile,v 1.44 2020/08/17 20:18:11 leot Exp $
#
DISTNAME= SpiralLoops-2.0.0
PKGNAME= spiralloops-2.0.0
PKGREVISION= 12
CATEGORIES= audio
MASTER_SITES= http://www.pawfal.org/Software/SpiralLoops/dload/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.pawfal.org/Software/SpiralLoops/
COMMENT= Loop based sampler
LICENSE= gnu-gpl-v2
# only runs correctly on little-endian machines
BROKEN_EXCEPT_ON_PLATFORM= ${LITTLEENDIANPLATFORMS}
USE_LANGUAGES= c c++03
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
MAKE_ENV+= CXXFLAGS=${CXXFLAGS:M*:Q}
CXXFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
CXXFLAGS+= -DFLTK_1_0_COMPAT
CXXFLAGS.SunOS+= -DSOUND_PCM_WRITE_CHANNELS=SNDCTL_DSP_CHANNELS
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${DESTDIR}${PREFIX}/bin
.include "../../x11/fltk13/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"