wok annotate sc/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (20 months ago) |
parents | 3ba8d2c9720d |
children |
rev | line source |
---|---|
paul@4539 | 1 # SliTaz package receipt. |
paul@4539 | 2 |
paul@4539 | 3 PACKAGE="sc" |
paul@4539 | 4 VERSION="7.16" |
paul@4539 | 5 CATEGORY="office" |
paul@4539 | 6 SHORT_DESC="Spreadsheet calculator." |
paul@4539 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15587 | 8 LICENSE="PublicDomain" |
paul@4539 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4539 | 10 WEB_SITE="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/" |
paul@4539 | 11 WGET_URL="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/$TARBALL" |
paul@4539 | 12 |
pascal@15587 | 13 DEPENDS="ncurses" |
pascal@15587 | 14 BUILD_DEPENDS="ncurses-dev bison m4" |
pascal@15587 | 15 |
pascal@24462 | 16 # What is the latest version available today? |
pascal@24462 | 17 current_version() |
pascal@24462 | 18 { |
pascal@24462 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24462 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24462 | 21 } |
pascal@24462 | 22 |
paul@4539 | 23 # Rules to configure and make the package. |
paul@4539 | 24 compile_rules() |
paul@4539 | 25 { |
pascal@17672 | 26 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@8974 | 27 patch -p1 < $stuff/7.16.patch || return 1 |
paul@4539 | 28 make |
paul@4539 | 29 } |
paul@4539 | 30 |
paul@4539 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4539 | 32 genpkg_rules() |
paul@4539 | 33 { |
paul@4539 | 34 mkdir -p $fs/usr/bin |
paul@4539 | 35 |
paul@4539 | 36 for i in sc psc scqref; do |
paul@4539 | 37 cp -a $src/$i $fs/usr/bin |
paul@4539 | 38 done |
paul@4539 | 39 } |