# SliTaz package receipt. PACKAGE="ttyrec" VERSION="1.0.8" CATEGORY="misc" SHORT_DESC="A tty recorder." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://0xcc.net/ttyrec" WGET_URL="$WEB_SITE/$TARBALL" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/ttyrec $fs/usr/bin cp -a $src/ttyplay $fs/usr/bin cp -a $src/ttytime $fs/usr/bin }