wok-6.x view mhash/receipt @ rev 24800

updated libidn and libidn-dev (1.35 -> 1.38)
author Hans-G?nter Theisgen
date Tue Mar 22 09:47:07 2022 +0100 (2022-03-22)
parents 3765f181a6d5
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="mhash"
4 VERSION="0.9.9.9"
5 CATEGORY="development"
6 SHORT_DESC="uniform interface to a large number of hash algorithms."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://mhash.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/mhash/files/mhash/ 2>/dev/null | \
17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
18 sed '/scope="row/!d;s|.*/mhash/||;s|/.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man $CONFIGURE_ARGS
27 make
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/libmhash.so* $fs/usr/lib
36 }