wok annotate gf2x/receipt @ rev 24776

jack1: added build dependency gcc83
author Hans-G?nter Theisgen
date Sat Mar 19 17:48:51 2022 +0100 (2022-03-19)
parents 44b836c51f50
children 870e1ce31226
rev   line source
al@13723 1 # SliTaz package receipt.
al@13723 2
al@13723 3 PACKAGE="gf2x"
Hans-G?nter@22844 4 VERSION="1.3.0"
al@13723 5 CATEGORY="misc"
Hans-G?nter@22844 6 SHORT_DESC="A library for multiplying polynomials over the binary field."
al@13723 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL2"
al@13723 9 WEB_SITE="https://gforge.inria.fr/projects/gf2x/"
Hans-G?nter@20963 10
al@13723 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20963 12 WGET_URL="https://gforge.inria.fr/frs/download.php/file/36934/$TARBALL"
al@13723 13
al@13723 14 DEPENDS=""
Hans-G?nter@20963 15 BUILD_DEPENDS=""
al@13723 16
pascal@24540 17 # What is the latest version available today?
pascal@24540 18 current_version()
pascal@24540 19 {
pascal@24540 20 wget -O - 'https://gitlab.inria.fr/gf2x/gf2x/-/tags?sort=updated_desc' 2>/dev/null | \
pascal@24540 21 sed '/item-title/!d;s|.*">gf2x-||;s|<.*||;q'
pascal@24540 22 }
pascal@24540 23
al@13723 24 # Rules to configure and make the package.
al@13723 25 compile_rules()
al@13723 26 {
Hans-G?nter@20963 27 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@20963 28 make -j 1 &&
Hans-G?nter@20963 29 make install
al@13723 30 }
al@13723 31
al@13723 32 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 33 genpkg_rules()
al@13723 34 {
al@13723 35 mkdir -p $fs/usr/lib
Hans-G?nter@22844 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@13723 37 }