wok view lpcnet/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 5ea0ce1cecc0
children
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*}/tags 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 }