wok annotate libguess/receipt @ rev 24992

Up sip (4.19.25)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 18:19:29 2022 +0000 (2022-05-14)
parents 86790a278e70
children c15fedfb9582
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@20421 9 WEB_SITE="https://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 }