wok view cryptopp/receipt @ rev 24693

updated jwm (2.3.7 -> 2.4.1)
author Hans-G?nter Theisgen
date Sun Mar 13 07:13:46 2022 +0100 (2022-03-13)
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 }