wok-6.x view libgpg-error/receipt @ rev 24206
updated perl-fcgi (0.79 -> 0.82)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:35:08 2021 +0100 (2021-12-31) |
parents | ef282a5e0203 |
children | 76d468568930 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgpg-error"
4 VERSION="1.37"
5 CATEGORY="security"
6 SHORT_DESC="Common error messages for GnuPG."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnupg.org/software/libgpg-error/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 HOST_ARCH="i486 arm"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$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 "6dff83371e0c03fe9ba468cc23d528a8c247785a $SRC/$TARBALL" | sha1sum -c || exit 1
29 ./configure $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make DESTDIR=$DESTDIR install
33 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin $fs/usr/lib
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin/gpg-error $fs/usr/bin
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 #cp -a $install/usr/share/man $fs/usr/share
45 }