wok view sc-im/receipt @ rev 24139

Add redupe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 17:05:26 2021 +0000 (2021-11-09)
parents f9e252411aa1
children 59547e97954f
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 MAINTAINER="paul@slitaz.org"
8 WEB_SITE="https://github.com/andmarti1424/sc-im"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 #WGET_URL="git|git://github.com/andmarti1424/sc-im"
12 # Do not use git, because that might fetch an unreleased version
13 # as happened with 0.8.3 in place of 0.8.2
14 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
16 DEPENDS="ncursesw"
17 BUILD_DEPENDS="bison ncursesw-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export CFLAGS="$CFLAGS -std=c99"
29 cd $src/src
30 # Do not override name = scim in Makefile,
31 # in order to avoid conflicts with the package scim
32 make -j1 prefix=/usr &&
33 make install prefix=/usr
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 # Program name changed to sc-im
40 cook_copy_files sc-im sc-im_help
41 }