wok-6.x annotate libsodium/receipt @ rev 25135

updated phpfm (0.9.8 -> 1.7.9)
author Hans-G?nter Theisgen
date Wed Jun 29 10:56:29 2022 +0100 (2022-06-29)
parents a9ec8a908c33
children 8ea0030e77cb
rev   line source
pascal@21877 1 # SliTaz package receipt.
pascal@21877 2
pascal@21877 3 PACKAGE="libsodium"
pascal@21877 4 VERSION="1.0.18"
pascal@21877 5 CATEGORY="security"
pascal@21877 6 SHORT_DESC="Network communication, cryptography and signaturing library"
pascal@21877 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21877 8 LICENSE="ISC"
pascal@21877 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21877 10 WEB_SITE="https://www.libsodium.org/"
pascal@21877 11 WGET_URL="https://download.libsodium.org/libsodium/releases/$TARBALL"
pascal@21877 12
pascal@24447 13 # What is the latest version available today?
pascal@24447 14 current_version()
pascal@24447 15 {
pascal@24447 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/[0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 18 }
pascal@24447 19
pascal@21877 20 # Rules to configure and make the package.
pascal@21877 21 compile_rules()
pascal@21877 22 {
pascal@21877 23 ./configure --prefix=/usr \
pascal@21877 24 $CONFIGURE_ARGS &&
pascal@21877 25 make &&
pascal@21877 26 make DESTDIR=$DESTDIR install
pascal@21877 27 }
pascal@21877 28
pascal@21877 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21877 30 genpkg_rules()
pascal@21877 31 {
pascal@21877 32 mkdir -p $fs/usr/lib
pascal@21877 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@21877 34 }