wok view libgcrypt/receipt @ rev 20517
linux: add NVMe support (thanks ceel)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 02 10:54:12 2018 +0100 (2018-11-02) |
parents | 4159aad20572 |
children | fac86802a927 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgcrypt"
4 VERSION="1.8.3"
5 CATEGORY="security"
6 SHORT_DESC="Cryptographic library based on GnuPG"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnupg.org/related_software/libgcrypt/"
11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libgpg-error"
15 BUILD_DEPENDS="libgpg-error-dev"
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 "13bd2ce69e59ab538e959911dfae80ea309636e3 $SRC/$TARBALL" | sha1sum -c || exit 1
23 case "$ARCH" in
24 arm)
25 #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error"
26 ./configure \
27 --build=i486-slitaz-linux \
28 --host=arm-slitaz-linux-gnueabi ;;
29 *)
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgpg-error"
31 ./configure \
32 --build=$HOST_SYSTEM \
33 --host=$HOST_SYSTEM ;;
34 esac &&
35 make && make install
37 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/bin $fs/usr/lib
44 cp -a $install/usr/bin/dumpsexp $fs/usr/bin
45 cp -a $install/usr/bin/hmac256 $fs/usr/bin
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }