wok view libksba/receipt @ rev 24707
updated lcov (1.14 -> 1.15)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 16:18:13 2022 +0100 (2022-03-14) |
parents | 37cd8bfbd908 |
children | 72237c062f53 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libksba"
4 VERSION="1.3.5"
5 CATEGORY="security"
6 SHORT_DESC="Library to work with X.509 certificates, CMS data and related objects."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnupg.org/related_software/libksba/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libksba/$TARBALL"
13 DEPENDS="libgpg-error"
14 BUILD_DEPENDS="libgpg-error-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Integrity check: https://www.gnupg.org/download/integrity_check.html
27 echo "a98385734a0c3f5b713198e8d6e6e4aeb0b76fde $SRC/$TARBALL" | sha1sum -c || exit 1
29 ./configure $CONFIGURE_ARGS && make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }