SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libssh"

# SliTaz package receipt.

PACKAGE="libssh"
VERSION="0.4.8"
CATEGORY="network"
SHORT_DESC="Library for accessing ssh client services through C libraries"
MAINTAINER="slaxemulator@gmail.com"
DEPENDS="libssl"
BUILD_DEPENDS="cmake openssl-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.libssh.org/"
WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    mkdir build
    cd build
    cmake ../ \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release
    make
    make DESTDIR=$PWD/../_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)