# SliTaz package receipt. PACKAGE="expect" VERSION="5.45.4" CATEGORY="utilities" SHORT_DESC="A tool for automating interactive applications." MAINTAINER="samuel_trassare@yahoo.com" LICENSE="PublicDomain" WEB_SITE="https://expect.sourceforge.net" TARBALL="$PACKAGE$VERSION.tar.gz" WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/Expect/$VERSION/$TARBALL" DEPENDS="tcl" BUILD_DEPENDS="tcl-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/expect/files/Expect/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/Expect/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS 2>&1 | grep -v /install-sh && make -j 1 && make DESTDIR=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin \ $fs/usr/lib cp -a $install/usr/bin/expect $fs/usr/bin cp -a $install/usr/lib/* $fs/usr/lib }