# SliTaz package receipt. PACKAGE="libdes" VERSION="4.04b" CATEGORY="security" SHORT_DESC="library for DES encryption" MAINTAINER="slaxemulator@gmail.com" LICENSE="MIT" WEB_SITE="https://web.archive.org/web/20150803212935/http://linux.maruhn.com/sec/libdes.html" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://ftp.ring.gr.jp/archives/net/Crypto/DES/$TARBALL" # What is the latest version available today? current_version() { wget -O - http://cryptography.dk/cmview/View?id=10010 2>/dev/null | \ sed '/libdes-[0-9]/!d;s|.*libdes-\([0-9]\)|\1|;s|.t.*|\n|;q' } # Rules to configure and make the package. compile_rules() { cd $src make mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/bin $DESTDIR/usr/include \ $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man3 make LIBDIR=$DESTDIR/usr/lib BINDIR=$DESTDIR/usr/bin INCDIR=$DESTDIR/usr/include MANDIR=$DESTDIR/usr/share/man install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }