wok view libdes/receipt @ rev 25509

sgmixer: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 13:14:45 2023 +0000 (21 months ago)
parents 4ce52a0b72fd
children 1c7a2bb8afc7
line source
1 # SliTaz package receipt.
3 PACKAGE="libdes"
4 VERSION="4.04b"
5 CATEGORY="security"
6 SHORT_DESC="library for DES encryption"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://web.archive.org/web/20150803212935/http://linux.maruhn.com/sec/libdes.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ftp.ring.gr.jp/archives/net/Crypto/DES/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - http://cryptography.dk/cmview/View?id=10010 2>/dev/null | \
17 sed '/libdes-[0-9]/!d;s|.*libdes-\([0-9]\)|\1|;s|.t.*|\n|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 make
25 mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/bin $DESTDIR/usr/include \
26 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man3
27 make LIBDIR=$DESTDIR/usr/lib BINDIR=$DESTDIR/usr/bin INCDIR=$DESTDIR/usr/include MANDIR=$DESTDIR/usr/share/man install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }