wok-current annotate libgpg-error/receipt @ rev 19990

Up sed (4.4)
author Paul Issott <paul@slitaz.org>
date Sun Jul 02 19:38:55 2017 +0100 (2017-07-02)
parents ac006a7bf27c
children b9470f5e6cae
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="libgpg-error"
al@19226 4 VERSION="1.23"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="Commons error messages for GnuPG."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
al@19226 9 WEB_SITE="https://www.gnupg.org/related_software/libgpg-error/"
erjo@180 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgpg-error/$TARBALL"
pankso@15974 12 HOST_ARCH="i486 arm"
erjo@180 13
pascal@14714 14 DEPENDS=""
pascal@14714 15
erjo@180 16 # Rules to configure and make the package.
erjo@180 17 compile_rules()
erjo@180 18 {
al@19226 19 # Integrity check: https://www.gnupg.org/download/integrity_check.html
al@19226 20 echo "c6a0c49211955e924593527b32e4b2736cafcda5 $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 21
al@19226 22 # touch src/extra-h.in
pankso@15974 23 ./configure $CONFIGURE_ARGS &&
pankso@15974 24 make && make DESTDIR=$DESTDIR install
al@19226 25
al@19226 26 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
erjo@180 27 }
erjo@180 28
erjo@180 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 30 genpkg_rules()
erjo@180 31 {
erjo@180 32 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
al@19226 33
pascal@14714 34 cp -a $install/usr/bin/gpg-error $fs/usr/bin
pascal@14714 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19257 36 #cp -a $install/usr/share/man $fs/usr/share
erjo@180 37 }