wok-current view libmowgli/receipt @ rev 24796
Add f2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 21 16:04:07 2022 +0000 (2022-03-21) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmowgli"
4 VERSION="2.1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="High performance and highly flexible algorithms."
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/atheme/libmowgli-2"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/atheme/$PACKAGE-2/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS=""
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i "s/touch -t 0001010000 /touch /g" configure
26 ./configure \
27 $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/libmowgli*.so* $fs/usr/lib
37 }