SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "beecrypt"

# SliTaz package receipt.

PACKAGE="beecrypt"
VERSION="4.2.1"
CATEGORY="system-tools"
SHORT_DESC="Cryptography Library"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2 LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://beecrypt.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="cryptography toolkit"

DEPENDS="gcc-lib-base"
BUILD_DEPENDS="python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/beecrypt/files/beecrypt/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/beecrypt/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr --without-cplusplus $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib $fs/usr
    # Deleting unnecessary file
    find $fs/ -name "*.*a" -exec rm -f {} \;
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)