File:
[cvs.NetBSD.org] /
pkgsrc /
audio /
espeak /
Attic /
Makefile
Revision
1.16:
download - view:
text,
annotated -
select for diffs
Tue Aug 18 17:57:24 2020 UTC (4 years, 3 months ago) by
leot
Branches:
MAIN
CVS tags:
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
HEAD
*: revbump for libsndfile
# $NetBSD: Makefile,v 1.16 2020/08/18 17:57:24 leot Exp $
MINOR_VER= 48
DISTNAME= espeak-1.${MINOR_VER}.04-source
PKGNAME= ${DISTNAME:S/-source//}
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=espeak/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://espeak.sourceforge.net/
COMMENT= Speech synthesizer
LICENSE= gnu-gpl-v3
BUILD_DIRS= src
USE_LANGUAGES= c c++03
USE_TOOLS+= gmake pax
MAKE_FLAGS+= DATADIR=${PREFIX}/share/espeak-data
# use portaudio v19
MAKE_FLAGS+= WAVE=wave.cpp
MAKE_FLAGS+= LIB_AUDIO=-lportaudio
MAKE_FLAGS+= USE_AUDIO=-DUSE_PORTAUDIO
PLIST_SUBST+= MINOR_VER=${MINOR_VER}
CXXFLAGS+= -funsigned-char
INSTALLATION_DIRS= bin include lib share
pre-configure:
${CP} ${WRKSRC}/src/portaudio19.h ${WRKSRC}/src/portaudio.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/espeak ${DESTDIR}${PREFIX}/bin
${INSTALL_LIB} ${WRKSRC}/src/libespeak.so.1.1.${MINOR_VER} ${DESTDIR}${PREFIX}/lib
${LN} -sf libespeak.so.1.1.${MINOR_VER} \
${DESTDIR}${PREFIX}/lib/libespeak.so.1
${LN} -sf libespeak.so.1.1.${MINOR_VER} \
${DESTDIR}${PREFIX}/lib/libespeak.so
${INSTALL_LIB} ${WRKSRC}/src/libespeak.a ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/src/speak_lib.h ${DESTDIR}${PREFIX}/include
cd ${WRKSRC}/espeak-data && \
${PAX} -rw -pp . ${DESTDIR}${PREFIX}/share/espeak-data
.include "../../audio/portaudio/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>