SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pwsafe"

# SliTaz package receipt.

PACKAGE="pwsafe"
VERSION="0.2.0"
CATEGORY="utilities"
SHORT_DESC="pwsafe is commandline program that manages encrypted password databases."
MAINTAINER="rocky@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/nsd20463/pwsafe/"
WGET_URL="https://fossies.org/linux/privat/old/$TARBALL"

DEPENDS="readline ncurses xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \
libcrypto gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp"
BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/nsd20463/pwsafe/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

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

post_install() 
{
    chmod u+s "$1/usr/bin/pwsafe"
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)