wok annotate lpcnet/receipt @ rev 25194

updated python-html2text (2017.10.4 -> 2019.8.11)
author Hans-G?nter Theisgen
date Wed Jul 13 10:52:13 2022 +0100 (2022-07-13)
parents 5ea0ce1cecc0
children
rev   line source
pascal@21247 1 # SliTaz package receipt.
pascal@21247 2
pascal@21247 3 PACKAGE="lpcnet"
pascal@21247 4 VERSION="0.1"
pascal@21247 5 CATEGORY="development"
pascal@21247 6 SHORT_DESC="Efficient neural speech synthesis"
pascal@21247 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21247 8 LICENSE="BSD"
pascal@21247 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21247 10 WEB_SITE="https://people.xiph.org/~jm/demo/lpcnet_codec/"
pascal@21247 11 WGET_URL="https://github.com/mozilla/LPCNet/archive/v$VERSION.tar.gz"
pascal@21247 12
pascal@21247 13 BUILD_DEPENDS="automake libtool gcc63"
pascal@21247 14
pascal@24055 15 current_version()
pascal@24055 16 {
pascal@24299 17 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 19 }
pascal@24055 20
pascal@21247 21 # Rules to configure and make the package.
pascal@21247 22 compile_rules()
pascal@21247 23 {
pascal@21247 24 export CC=gcc-63 CXX=g++-63
pascal@21247 25 ./autogen.sh
pascal@21247 26 ./configure --prefix=/usr \
pascal@21247 27 $CONFIGURE_ARGS &&
pascal@21247 28 make &&
pascal@21247 29 make DESTDIR=$DESTDIR install
pascal@21247 30 }
pascal@21247 31
pascal@21247 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21247 33 genpkg_rules()
pascal@21247 34 {
pascal@21247 35 mkdir -p $fs/usr/lib
pascal@21247 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@21247 37 }