wok annotate pwsafe/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (7 months ago) |
parents | 0262035dc1e7 |
children |
rev | line source |
---|---|
rocky@3495 | 1 # SliTaz package receipt. |
rocky@3495 | 2 |
rocky@3495 | 3 PACKAGE="pwsafe" |
rocky@3495 | 4 VERSION="0.2.0" |
rocky@3495 | 5 CATEGORY="utilities" |
rocky@3495 | 6 SHORT_DESC="pwsafe is commandline program that manages encrypted password databases." |
rocky@3495 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@15000 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25449 | 10 WEB_SITE="https://github.com/nsd20463/pwsafe/" |
pascal@25043 | 11 WGET_URL="https://fossies.org/linux/privat/old/$TARBALL" |
pascal@15000 | 12 |
pascal@5005 | 13 DEPENDS="readline ncurses xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \ |
pascal@5005 | 14 libcrypto gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp" |
rocky@3495 | 15 BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev" |
rocky@3495 | 16 |
pascal@24500 | 17 # What is the latest version available today? |
pascal@24500 | 18 current_version() |
pascal@24500 | 19 { |
pascal@25608 | 20 wget -O - https://github.com/nsd20463/pwsafe/tags 2>/dev/null | \ |
pascal@25608 | 21 sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' |
pascal@24500 | 22 } |
pascal@24500 | 23 |
rocky@3495 | 24 # Rules to configure and make the package. |
rocky@3495 | 25 compile_rules() |
rocky@3495 | 26 { |
rocky@3495 | 27 ./configure --prefix=/usr \ |
rocky@3495 | 28 --infodir=/usr/share/info \ |
rocky@3495 | 29 --mandir=/usr/share/man \ |
rocky@3495 | 30 $CONFIGURE_ARGS && |
rocky@3495 | 31 make && |
pascal@15000 | 32 make DESTDIR=$DESTDIR install |
rocky@3495 | 33 } |
rocky@3495 | 34 |
rocky@3495 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3495 | 36 genpkg_rules() |
rocky@3495 | 37 { |
rocky@3495 | 38 mkdir -p $fs/usr |
pascal@15000 | 39 cp -a $install/usr/bin $fs/usr |
rocky@3495 | 40 } |
rocky@3495 | 41 |
rocky@3495 | 42 post_install() |
rocky@3495 | 43 { |
pascal@18730 | 44 chmod u+s "$1/usr/bin/pwsafe" |
rocky@3495 | 45 } |