wok-current view libgpg-error/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents 5d79829fa876
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="libgpg-error"
4 VERSION="1.44"
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 SUGGESTED="libgpg-error-lang"
15 DEPENDS=""
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Integrity check: https://www.gnupg.org/download/integrity_check.html
29 echo "c16ab473d1e558ba1712c77ace38bd03e467cbb0 $SRC/$TARBALL" | sha1sum -c || exit 1
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
35 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin/gpg-error $fs/usr/bin
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }