wok annotate st/receipt @ rev 24393

updated calcurse (4.5.1 -> 4.7.1)
author Hans-G?nter Theisgen
date Tue Feb 08 09:44:59 2022 +0100 (2022-02-08)
parents 93e0518b3d74
children
rev   line source
pankso@16429 1 # SliTaz package receipt.
pankso@16429 2
pankso@16429 3 PACKAGE="st"
Hans-G?nter@24292 4 VERSION="0.8.5"
pankso@16429 5 CATEGORY="x-window"
Hans-G?nter@21975 6 SHORT_DESC="A simple terminal implementation for X."
pankso@16429 7 MAINTAINER="pankso@slitaz.org"
pankso@16429 8 LICENSE="BSD"
Hans-G?nter@21975 9 WEB_SITE="https://st.suckless.org/"
Hans-G?nter@24292 10 REPOLOGY="st-term"
Hans-G?nter@21975 11
pankso@16429 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21975 13 WGET_URL="https://dl.suckless.org/$PACKAGE/$TARBALL"
Hans-G?nter@21975 14
Hans-G?nter@21975 15 DEPENDS="fontconfig freetype ncursesw-extra xorg-libX11 xorg-libXft"
Hans-G?nter@21975 16 BUILD_DEPENDS="fontconfig-dev freetype-dev xorg-libX11-dev \
Hans-G?nter@21975 17 xorg-libXft-dev"
Hans-G?nter@21975 18
pankso@16429 19 #HOST_ARCH="i486 arm"
pankso@16429 20
pascal@24295 21 current_version()
pascal@24295 22 {
pascal@24295 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24295 24 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24295 25 }
pascal@24295 26
pankso@16429 27 # Rules to configure and make the package.
pankso@16429 28 compile_rules()
pankso@16429 29 {
pankso@16429 30 make CC=${HOST_SYSTEM}-gcc
pankso@16429 31 }
pankso@16429 32
pankso@16429 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16429 34 genpkg_rules()
pankso@16429 35 {
Hans-G?nter@21975 36 mkdir -p $fs/usr/bin
Hans-G?nter@24292 37 mkdir -p $fs/usr/share/$PACKAGE
Hans-G?nter@21975 38
Hans-G?nter@24292 39 cp -a $src/$PACKAGE $fs/usr/bin
Hans-G?nter@24292 40 cp $src/st.info $fs/usr/share/$PACKAGE
pankso@16429 41 }
pankso@16429 42
pankso@16429 43 post_install()
pankso@16429 44 {
Hans-G?nter@24292 45 chroot "$1/" tic -s /usr/share/$PACKAGE/st.info
pankso@16429 46 }