wok annotate gf2x/receipt @ rev 25611
Add zx0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 01 18:37:27 2023 +0000 (13 months ago) |
parents | 870e1ce31226 |
children |
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" |
pascal@24894 | 9 WEB_SITE="https://gitlab.inria.fr/gf2x/gf2x/" |
Hans-G?nter@20963 | 10 |
al@13723 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24978 | 12 WGET_URL="https://gitlab.inria.fr/gf2x/gf2x/-/archive/gf2x-1.3.0/gf2x-$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 } |