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