# 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" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # 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 }