wok view libgpg-error/receipt @ rev 23883

Add duperemove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 14 19:24:33 2020 +0000 (2020-07-14)
parents e0e82f52d832
children 5d79829fa876
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Integrity check: https://www.gnupg.org/download/integrity_check.html
21 echo "6dff83371e0c03fe9ba468cc23d528a8c247785a $SRC/$TARBALL" | sha1sum -c || exit 1
23 ./configure $CONFIGURE_ARGS &&
24 make -j 1 &&
25 make DESTDIR=$DESTDIR install
27 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/lib
34 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin/gpg-error $fs/usr/bin
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 #cp -a $install/usr/share/man $fs/usr/share
39 }