wok-current view libguess/receipt @ rev 25710

Build full mesa features and split it
author Stanislas Leduc <shann@slitaz.org>
date Mon Jun 10 19:04:54 2024 +0000 (5 months ago)
parents 544e47246b33
children
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://web.archive.org/web/20140903004553/http://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 }