feature: bundled the lua-tablepool library.

This commit is contained in:
Thibault Charbonnier
2019-01-24 14:53:46 -08:00
committed by Thibault Charbonnier
parent b5d0128311
commit 7b290a582f
3 changed files with 219 additions and 60 deletions

View File

@ -850,6 +850,17 @@ cd ..
#################################
ver=0.01
$root/util/get-tarball "https://github.com/openresty/lua-tablepool/tarball/v$ver" -O "lua-tablepool-$ver.tar.gz" || exit 1
tar -xzf lua-tablepool-$ver.tar.gz || exit 1
mv openresty-lua-tablepool-* lua-tablepool-$ver || exit 1
cd lua-tablepool-$ver || exit 1
sed 's/\$(DESTDIR)\//$(DESTDIR)/g' Makefile > mk || exit 1
mv mk Makefile || exit 1
cd ..
#################################
rm *.tar.gz
rm *.tar.bz2