wok-6.x view st/receipt @ rev 23963
Up curl (7.72.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 10:34:57 2020 +0000 (2020-10-02) |
parents | 9e01bc6321ea |
children | 93e0518b3d74 |
line source
1 # SliTaz package receipt.
3 PACKAGE="st"
4 VERSION="0.8.2"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dl.suckless.org/$PACKAGE/$TARBALL"
14 DEPENDS="fontconfig freetype ncursesw-extra xorg-libX11 xorg-libXft"
15 BUILD_DEPENDS="fontconfig-dev freetype-dev xorg-libX11-dev \
16 xorg-libXft-dev"
18 #HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make CC=${HOST_SYSTEM}-gcc
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 mkdir -p $fs/usr/share/${PACKAGE}
32 cp -a ${src}/${PACKAGE} $fs/usr/bin
33 cp ${src}/st.info $fs/usr/share/${PACKAGE}
34 }
36 post_install()
37 {
38 chroot "$1/" tic -s /usr/share/${PACKAGE}/st.info
39 }