wok view sc-im/receipt @ rev 25734

updated sc-im (-> 0.8.4)
author Hans-G?nter Theisgen
date Thu Aug 22 14:48:42 2024 +0100 (4 months ago)
parents 5afbe5c98919
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sc-im"
4 VERSION="0.8.4"
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="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="bison ncursesw-dev"
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 export CFLAGS="$CFLAGS -std=c99"
28 cd $src/src
29 # Do not override name = scim in Makefile,
30 # in order to avoid conflicts with the package scim
31 make -j1 prefix=/usr &&
32 make install prefix=/usr
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 # Program name changed to sc-im
39 cook_copy_files sc-im sc-im_help
40 }