wok-6.x view gf2x/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | 870e1ce31226 |
children |
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://gitlab.inria.fr/gf2x/gf2x/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://gitlab.inria.fr/gf2x/gf2x/-/archive/gf2x-1.3.0/gf2x-$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 }