wok annotate libguess/receipt @ rev 25576

Up nimrod (1.6.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 17:57:27 2023 +0000 (19 months ago)
parents 544e47246b33
children c965782a38e0
rev   line source
al@16309 1 # SliTaz package receipt.
al@16309 2
al@16309 3 PACKAGE="libguess"
al@16309 4 VERSION="gpl"
al@16309 5 CATEGORY="development"
al@16309 6 SHORT_DESC="User input ambiguity resolver for user inputs written in C++"
al@16309 7 MAINTAINER="al.bobylev@gmail.com"
al@16309 8 LICENSE="GPL3"
pascal@25443 9 WEB_SITE="https://web.archive.org/web/20140903004553/http://sourceforge.net/projects/libguess/"
al@16309 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@16309 11 WGET_URL="git|git://git.code.sf.net/p/libguess/code"
al@16309 12
al@16309 13 DEPENDS="gcc-lib-base glibc-base"
al@16309 14 BUILD_DEPENDS="git"
al@16309 15
pascal@24540 16 # What is the latest version available today?
pascal@24540 17 current_version()
pascal@24540 18 {
pascal@24540 19 wget -O - https://github.com/kaniini/libguess/commits/master 2>/dev/null | \
pascal@24540 20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24540 21 }
pascal@24540 22
al@16309 23 # Rules to configure and make the package.
al@16309 24 compile_rules()
al@16309 25 {
al@16309 26 cd Release
al@16309 27 make
al@16309 28 }
al@16309 29
al@16309 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16309 31 genpkg_rules()
al@16309 32 {
al@16309 33 mkdir -p $fs/usr/lib
al@16309 34 cp -a $src/Release/libguess.so $fs/usr/lib
al@16309 35 mkdir -p $fs/usr/include/libguess
al@16309 36 install -m644 $src/src/Guess.h $fs/usr/include/libguess/libguess.h
al@16309 37 }