wok view libguess/receipt @ rev 24931

updated mtr (0.93 -> 0.95)
author Hans-G?nter Theisgen
date Wed Apr 13 16:54:43 2022 +0100 (2022-04-13)
parents 86790a278e70
children c15fedfb9582
line source
1 # SliTaz package receipt.
3 PACKAGE="libguess"
4 VERSION="gpl"
5 CATEGORY="development"
6 SHORT_DESC="User input ambiguity resolver for user inputs written in C++"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/libguess"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://git.code.sf.net/p/libguess/code"
13 DEPENDS="gcc-lib-base glibc-base"
14 BUILD_DEPENDS="git"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/kaniini/libguess/commits/master 2>/dev/null | \
20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd Release
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $src/Release/libguess.so $fs/usr/lib
35 mkdir -p $fs/usr/include/libguess
36 install -m644 $src/src/Guess.h $fs/usr/include/libguess/libguess.h
37 }