libtomcrypt: update to 1.18.2.

This commit is contained in:
maxice8 2018-07-02 23:24:14 -03:00
parent dc4a37ce71
commit d2f57d31ca

View file

@ -1,6 +1,6 @@
# Template file for 'libtomcrypt'
pkgname=libtomcrypt
version=1.18.1
version=1.18.2
revision=1
patch_args="-Np1"
hostmakedepends="libtool"
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public domain"
homepage="http://www.libtom.net/?page=features&newsitems=5&whatfile=crypt"
distfiles="https://github.com/libtom/libtomcrypt/releases/download/v${version}/crypt-${version}.tar.xz"
checksum=57c13a34fbfd45696189d19e47864e48f4e5c11590c29b444accb8edbf047f14
checksum=96ad4c3b8336050993c5bc2cf6c057484f2b0f9f763448151567fbab5e767b84
do_build() {
sed -e "s,@@CC@@,$CC,g;s,\$(CC),$CC,g" -i makefile.shared
@ -20,11 +20,13 @@ do_build() {
fi
make RANLIB=$RANLIB -f makefile.shared ${makejobs}
}
do_check() {
make test
./test
}
do_install() {
make -f makefile.shared GROUP="$(whoami)" USER="$(whoami)" NODOCS=1 DESTDIR=${DESTDIR} PREFIX=/usr install
vman ${sourcepkg}.3