wok annotate libksba/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (7 weeks ago)
parents ede1d184d5c5
children
rev   line source
pankso@4061 1 # SliTaz package receipt.
pankso@4061 2
pankso@4061 3 PACKAGE="libksba"
Hans-G?nter@24803 4 VERSION="1.6.0"
pankso@4061 5 CATEGORY="security"
pankso@4061 6 SHORT_DESC="Library to work with X.509 certificates, CMS data and related objects."
pankso@4061 7 MAINTAINER="pankso@slitaz.org"
pascal@15473 8 LICENSE="GPL3"
al@19226 9 WEB_SITE="https://www.gnupg.org/related_software/libksba/"
Hans-G?nter@24803 10
pankso@4061 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libksba/$TARBALL"
pankso@4061 13
pankso@10411 14 DEPENDS="libgpg-error"
pankso@10411 15 BUILD_DEPENDS="libgpg-error-dev"
pankso@10411 16
pascal@24447 17 # What is the latest version available today?
pascal@24447 18 current_version()
pascal@24447 19 {
pascal@24447 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 22 }
pascal@24447 23
pankso@4061 24 # Rules to configure and make the package.
pankso@4061 25 compile_rules()
pankso@4061 26 {
al@19226 27 # Integrity check: https://www.gnupg.org/download/integrity_check.html
Hans-G?nter@24803 28 echo "d71e18a71b44d7f0e93180e05971857b4900c788 $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 29
Hans-G?nter@24803 30 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24803 31 make &&
Hans-G?nter@24803 32 make install
pankso@4061 33 }
pankso@4061 34
pankso@4061 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4061 36 genpkg_rules()
pankso@4061 37 {
Hans-G?nter@24803 38 cook_copy_files *.so*
pankso@4061 39 }