wok annotate libdes/receipt @ rev 25670

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