# HG changeset patch # User Pascal Bellard # Date 1554996435 -7200 # Node ID e35f62cc61b65c087242ed734409010c1614f491 # Parent da1bb332261054478587c6ce2ba0d22ea09ce932 Add lpcnet diff -r da1bb3322610 -r e35f62cc61b6 lpcnet-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lpcnet-dev/receipt Thu Apr 11 17:27:15 2019 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="lpcnet-dev" +VERSION="0.1" +CATEGORY="development" +SHORT_DESC="Efficient neural speech synthesis, development files" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +WEB_SITE="https://people.xiph.org/~jm/demo/lpcnet_codec/" +WANTED="lpcnet" + +DEPENDS="pkg-config lpcnet" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r da1bb3322610 -r e35f62cc61b6 lpcnet/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lpcnet/receipt Thu Apr 11 17:27:15 2019 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="lpcnet" +VERSION="0.1" +CATEGORY="development" +SHORT_DESC="Efficient neural speech synthesis" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://people.xiph.org/~jm/demo/lpcnet_codec/" +WGET_URL="https://github.com/mozilla/LPCNet/archive/v$VERSION.tar.gz" + +BUILD_DEPENDS="automake libtool gcc63" + +# Rules to configure and make the package. +compile_rules() +{ + export CC=gcc-63 CXX=g++-63 + ./autogen.sh + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}