wok-current view cryptopp/receipt @ rev 24743

updated libffi and libffi-dev (3.3 -> 3.4.2)
author Hans-G?nter Theisgen
date Wed Mar 16 10:41:57 2022 +0100 (2022-03-16)
parents ad8b9ff412d2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptopp"
4 VERSION="8.6.0"
5 CATEGORY="security"
6 SHORT_DESC="C++ class library of cryptographic schemes."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT PublicDomain"
9 WEB_SITE="https://www.cryptopp.com"
11 TARBALL="${PACKAGE}${VERSION//./}.zip"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed '/cryptopp[0-9]*.zip/!d;s|.*cryptopp\(.*\).zip.*|\1|;s|.|&.|g;s|.$||' | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's|uname -m|echo i486|' GNUmakefile
25 make PREFIX=/usr &&
26 make libcryptopp.so PREFIX=/usr &&
27 make libcryptopp.pc PREFIX=/usr &&
28 make install PREFIX=/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/doc/$PACKAGE
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/include $fs/usr
38 cp $src/License.txt $fs/usr/share/doc/$PACKAGE
39 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
40 }