
Receipt for package "luasocket"
# SliTaz package receipt. PACKAGE="luasocket" VERSION="2.0.2" CATEGORY="development" SHORT_DESC="Network support for the Lua language." MAINTAINER="rocky@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://w3.impa.br/~diego/software/luasocket/home.html" WGET_URL="https://github.com/lunarmodules/luasocket/archive/refs/tags/v$VERSION.tar.gz" DEPENDS="lua5.1" BUILD_DEPENDS="lua5.1-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/is *now *available/!d;s|.*version ||;s| is.*||;q' } # Rules to configure and make the package. compile_rules() { echo $src cd $src while read file; do [ -f done.$file ] && continue echo "Apply $file..." patch -p1 < $stuff/$file || return 1 touch done.$file done <<EOT patch.diff EOT make CFLAGS="$CFLAGS -I/usr/include/lua/5.1" && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/lib $fs/usr cp -a $install/usr/share/lua $fs/usr/share }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)