wok-6.x view sc-im/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (24 months ago) |
parents | 8eaf1d9eb640 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sc-im"
4 VERSION="0.8.2"
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 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export CFLAGS="$CFLAGS -std=c99"
30 cd $src/src
31 # Do not override name = scim in Makefile,
32 # in order to avoid conflicts with the package scim
33 make -j1 prefix=/usr &&
34 make install prefix=/usr
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 # Program name changed to sc-im
41 cook_copy_files sc-im sc-im_help
42 }