wok annotate libgpg-error/receipt @ rev 24061

Add lz4ultra
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 12 09:05:17 2021 +0000 (2021-06-12)
parents e0e82f52d832
children 5d79829fa876
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="libgpg-error"
Hans-G?nter@23067 4 VERSION="1.37"
erjo@180 5 CATEGORY="security"
Hans-G?nter@21225 6 SHORT_DESC="Common error messages for GnuPG."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
Hans-G?nter@21225 9 WEB_SITE="https://www.gnupg.org/software/libgpg-error/"
Hans-G?nter@21225 10
erjo@180 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21225 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/$PACKAGE/$TARBALL"
erjo@180 13
pascal@14714 14 DEPENDS=""
Hans-G?nter@21225 15 HOST_ARCH="i486 arm"
pascal@14714 16
erjo@180 17 # Rules to configure and make the package.
erjo@180 18 compile_rules()
erjo@180 19 {
al@19226 20 # Integrity check: https://www.gnupg.org/download/integrity_check.html
Hans-G?nter@23067 21 echo "6dff83371e0c03fe9ba468cc23d528a8c247785a $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 22
pankso@15974 23 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21225 24 make -j 1 &&
Hans-G?nter@21225 25 make DESTDIR=$DESTDIR install
al@19226 26
al@19226 27 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
erjo@180 28 }
erjo@180 29
erjo@180 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 31 genpkg_rules()
erjo@180 32 {
Hans-G?nter@21225 33 mkdir -p $fs/usr/bin $fs/usr/lib
Hans-G?nter@21225 34 mkdir -p $fs/usr/share
al@19226 35
Hans-G?nter@21225 36 cp -a $install/usr/bin/gpg-error $fs/usr/bin
Hans-G?nter@21225 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21225 38 #cp -a $install/usr/share/man $fs/usr/share
erjo@180 39 }