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