wok view libgpg-error/receipt @ rev 19239
Up tazpkg (910).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 28 01:27:04 2016 +0300 (2016-06-28) |
parents | ab5bde7ad5e1 |
children | 13806712bef0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgpg-error"
4 VERSION="1.23"
5 CATEGORY="security"
6 SHORT_DESC="Commons error messages for GnuPG."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnupg.org/related_software/libgpg-error/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgpg-error/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Integrity check: https://www.gnupg.org/download/integrity_check.html
20 echo "c6a0c49211955e924593527b32e4b2736cafcda5 $SRC/$TARBALL" | sha1sum -c || exit 1
22 # touch src/extra-h.in
23 ./configure $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
26 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
34 cp -a $install/usr/bin/gpg-error $fs/usr/bin
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/share/man $fs/usr/share
37 }