wok-6.x view lpcnet/receipt @ rev 24288

fail2ban: add log4j-jndi.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 13 18:29:05 2022 +0000 (2022-01-13)
parents e35f62cc61b6
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="lpcnet"
4 VERSION="0.1"
5 CATEGORY="development"
6 SHORT_DESC="Efficient neural speech synthesis"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://people.xiph.org/~jm/demo/lpcnet_codec/"
11 WGET_URL="https://github.com/mozilla/LPCNet/archive/v$VERSION.tar.gz"
13 BUILD_DEPENDS="automake libtool gcc63"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export CC=gcc-63 CXX=g++-63
25 ./autogen.sh
26 ./configure --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }