wok annotate lstm-compress/receipt @ rev 25526

created recipe for lua5.1-mpack 1.0.9
author Hans-G?nter Theisgen
date Sat Feb 25 07:18:33 2023 +0100 (20 months ago)
parents 2667a1709ae9
children 7364ffdaaa60
rev   line source
pascal@23964 1 # SliTaz package receipt.
pascal@23964 2
pascal@23964 3 PACKAGE="lstm-compress"
pascal@23964 4 VERSION="3"
pascal@23964 5 CATEGORY="system-tools"
pascal@23964 6 SHORT_DESC="lossless data compression with high ratio but high CPU/memory usage"
pascal@23964 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@23964 8 LICENSE="GPL3"
pascal@23964 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@23964 10 WEB_SITE="https://github.com/byronknoll/lstm-compress"
pascal@23964 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@23964 12
pascal@23964 13 DEPENDS="gcc83-lib-base"
pascal@23964 14 BUILD_DEPENDS="gcc83"
pascal@23964 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@23964 22 # Rules to configure and make the package.
pascal@23964 23 compile_rules()
pascal@23964 24 {
pascal@23964 25 make CC=g++-83
pascal@23964 26 }
pascal@23964 27
pascal@23964 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23964 29 genpkg_rules()
pascal@23964 30 {
pascal@23964 31 mkdir -p $fs/usr/bin
pascal@23964 32 cp -a $src/lstm-compress $fs/usr/bin
pascal@23964 33 }