wok-6.x view gf2x/receipt @ rev 24727

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