wok-current annotate sc-im/receipt @ rev 24728
Update some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 11:32:25 2022 +0000 (2022-03-15) |
parents | 8eaf1d9eb640 |
children |
rev | line source |
---|---|
paul@18415 | 1 # SliTaz package receipt. |
paul@18415 | 2 |
paul@18415 | 3 PACKAGE="sc-im" |
Hans-G?nter@24135 | 4 VERSION="0.8.2" |
paul@18415 | 5 CATEGORY="office" |
Hans-G?nter@20663 | 6 SHORT_DESC="Spreadsheet Calculator Improved" |
pascal@24728 | 7 LICENSE="BSD" |
paul@18415 | 8 MAINTAINER="paul@slitaz.org" |
Hans-G?nter@24135 | 9 WEB_SITE="https://github.com/andmarti1424/sc-im" |
Hans-G?nter@24135 | 10 |
Hans-G?nter@24136 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24136 | 12 #WGET_URL="git|git://github.com/andmarti1424/sc-im" |
Hans-G?nter@24136 | 13 # Do not use git, because that might fetch an unreleased version |
Hans-G?nter@24136 | 14 # as happened with 0.8.3 in place of 0.8.2 |
Hans-G?nter@24136 | 15 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
paul@18415 | 16 |
al@19542 | 17 DEPENDS="ncursesw" |
Hans-G?nter@24136 | 18 BUILD_DEPENDS="bison ncursesw-dev" |
paul@18415 | 19 |
pascal@24139 | 20 current_version() |
pascal@24139 | 21 { |
pascal@24139 | 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24139 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24139 | 24 } |
pascal@24139 | 25 |
paul@18415 | 26 # Rules to configure and make the package. |
paul@18415 | 27 compile_rules() |
paul@18415 | 28 { |
Hans-G?nter@24135 | 29 export CFLAGS="$CFLAGS -std=c99" |
paul@18415 | 30 cd $src/src |
Hans-G?nter@20665 | 31 # Do not override name = scim in Makefile, |
Hans-G?nter@20665 | 32 # in order to avoid conflicts with the package scim |
Hans-G?nter@24135 | 33 make -j1 prefix=/usr && |
Hans-G?nter@24135 | 34 make install prefix=/usr |
paul@18415 | 35 } |
Hans-G?nter@24135 | 36 |
paul@18415 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18415 | 38 genpkg_rules() |
paul@18415 | 39 { |
Hans-G?nter@20665 | 40 # Program name changed to sc-im |
Hans-G?nter@20665 | 41 cook_copy_files sc-im sc-im_help |
paul@18415 | 42 } |