wok view unibilium/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 595fe6959202
children
line source
1 # SliTaz package receipt.
3 PACKAGE="unibilium"
4 VERSION="2.1.1"
5 CATEGORY="libs"
6 TAGS="terminfo"
7 SHORT_DESC="Terminfo parsing library."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="LGPL-3+"
10 WEB_SITE="https://github.com/neovim/unibilium/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
15 BUILD_DEPENDS="libtool perl"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make PREFIX=/usr &&
28 make install PREFIX=/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files *.so*
35 }