wok annotate mcrypt/receipt @ rev 25465

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 08:33:11 2022 +0000 (2022-10-01)
parents 7dd01dedad38
children d3556b8f5c3d
rev   line source
erjo@4381 1 # SliTaz package receipt.
erjo@4381 2
erjo@4381 3 PACKAGE="mcrypt"
erjo@4381 4 VERSION="2.6.8"
pascal@5726 5 CATEGORY="security"
erjo@4381 6 SHORT_DESC="Encryption"
pascal@5724 7 MAINTAINER="erjo@slitaz.org"
pascal@15584 8 LICENSE="GPL3"
erjo@4381 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25460 10 WEB_SITE="https://mcrypt.sourceforge.net/"
pascal@25465 11 WGET_URL="$SF_MIRROR/project/mcrypt/MCrypt/$VERSION/$TARBALL"
erjo@4381 12
erjo@9959 13 DEPENDS="zlib mhash libmcrypt"
erjo@9959 14 BUILD_DEPENDS="libmcrypt-dev libmcrypt-dev mhash-dev"
erjo@9959 15
pascal@24361 16 # What is the latest version available today?
pascal@24361 17 current_version()
pascal@24361 18 {
pascal@24361 19 wget -O - https://sourceforge.net/projects/mcrypt/files/MCrypt/ 2>/dev/null | \
pascal@24361 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 21 sed '/scope="row/!d;s|.*/MCrypt/||;s|/.*||;q'
pascal@24361 22 }
pascal@24361 23
erjo@4381 24 # Rules to configure and make the package.
erjo@4381 25 compile_rules()
erjo@4381 26 {
erjo@4381 27 ./configure \
pascal@15256 28 --prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v libtoolT &&
gokhlayeh@11573 29 make &&
erjo@9959 30 make DESTDIR=$DESTDIR install
erjo@4381 31 }
erjo@4381 32
erjo@4381 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4381 34 genpkg_rules()
erjo@4381 35 {
erjo@4381 36 mkdir -p $fs/usr
pascal@15584 37 cp -a $install/usr/bin $fs/usr
erjo@4381 38 }