wok view sc-im/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (5 weeks ago)
parents 0262035dc1e7
children 5afbe5c98919
line source
1 # SliTaz package receipt.
3 PACKAGE="sc-im"
4 VERSION="0.8.3"
5 CATEGORY="office"
6 SHORT_DESC="Spreadsheet Calculator Improved."
7 LICENSE="BSD"
8 MAINTAINER="paul@slitaz.org"
9 WEB_SITE="https://github.com/andmarti1424/sc-im"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="git|git://github.com/andmarti1424/sc-im"
13 # Do not use git, because that might fetch an unreleased version
14 # as happened with 0.8.3 in place of 0.8.2
15 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
17 DEPENDS="ncursesw"
18 BUILD_DEPENDS="bison ncursesw-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export CFLAGS="$CFLAGS -std=c99"
31 cd $src/src
32 # Do not override name = scim in Makefile,
33 # in order to avoid conflicts with the package scim
34 make -j1 prefix=/usr &&
35 make install prefix=/usr
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 # Program name changed to sc-im
42 cook_copy_files sc-im sc-im_help
43 }