# SliTaz package receipt. PACKAGE="libtermkey" VERSION="0.22" CATEGORY="libs" SHORT_DESC="Library for easy processing of keyboard entry from terminal-based programs." MAINTAINER="maintainer@slitaz.org" LICENSE="MIT" WEB_SITE="http://www.leonerd.org.uk/code/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.leonerd.org.uk/code/$PACKAGE/$TARBALL" BUILD_DEPENDS="libtool unibilium-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/libtermkey 2>/dev/null | \ sed '/tar.gz/!d;s|.*key-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { make PREFIX=/usr && make install PREFIX=/usr } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }