wok-6.x annotate st/receipt @ rev 22642
updated debootstrap (1.0.48 -> 1.0.116)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 14 07:46:35 2020 +0100 (2020-01-14) |
parents | 9e01bc6321ea |
children | 93e0518b3d74 |
rev | line source |
---|---|
pankso@16429 | 1 # SliTaz package receipt. |
pankso@16429 | 2 |
pankso@16429 | 3 PACKAGE="st" |
Hans-G?nter@21975 | 4 VERSION="0.8.2" |
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@21975 | 10 |
pankso@16429 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21975 | 12 WGET_URL="https://dl.suckless.org/$PACKAGE/$TARBALL" |
Hans-G?nter@21975 | 13 |
Hans-G?nter@21975 | 14 DEPENDS="fontconfig freetype ncursesw-extra xorg-libX11 xorg-libXft" |
Hans-G?nter@21975 | 15 BUILD_DEPENDS="fontconfig-dev freetype-dev xorg-libX11-dev \ |
Hans-G?nter@21975 | 16 xorg-libXft-dev" |
Hans-G?nter@21975 | 17 |
pankso@16429 | 18 #HOST_ARCH="i486 arm" |
pankso@16429 | 19 |
pankso@16429 | 20 # Rules to configure and make the package. |
pankso@16429 | 21 compile_rules() |
pankso@16429 | 22 { |
pankso@16429 | 23 make CC=${HOST_SYSTEM}-gcc |
pankso@16429 | 24 } |
pankso@16429 | 25 |
pankso@16429 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16429 | 27 genpkg_rules() |
pankso@16429 | 28 { |
Hans-G?nter@21975 | 29 mkdir -p $fs/usr/bin |
Hans-G?nter@21975 | 30 mkdir -p $fs/usr/share/${PACKAGE} |
Hans-G?nter@21975 | 31 |
Hans-G?nter@21975 | 32 cp -a ${src}/${PACKAGE} $fs/usr/bin |
Hans-G?nter@21975 | 33 cp ${src}/st.info $fs/usr/share/${PACKAGE} |
pankso@16429 | 34 } |
pankso@16429 | 35 |
pankso@16429 | 36 post_install() |
pankso@16429 | 37 { |
pascal@18730 | 38 chroot "$1/" tic -s /usr/share/${PACKAGE}/st.info |
pankso@16429 | 39 } |