# SliTaz package receipt. PACKAGE="libguess" VERSION="gpl" CATEGORY="development" SHORT_DESC="User input ambiguity resolver for user inputs written in C++" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="https://web.archive.org/web/20140903004553/http://sourceforge.net/projects/libguess/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="git|git://git.code.sf.net/p/libguess/code" DEPENDS="gcc-lib-base glibc-base" BUILD_DEPENDS="git" # What is the latest version available today? current_version() { wget -O - https://github.com/kaniini/libguess/commits/master 2>/dev/null | \ sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d } # Rules to configure and make the package. compile_rules() { cd Release make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $src/Release/libguess.so $fs/usr/lib mkdir -p $fs/usr/include/libguess install -m644 $src/src/Guess.h $fs/usr/include/libguess/libguess.h }