wok-current view st/receipt @ rev 20526

Add arandr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 07 10:46:58 2018 +0100 (2018-11-07)
parents 28f3ef225377
children 063c090815cb
line source
1 # SliTaz package receipt.
3 PACKAGE="st"
4 VERSION="0.5"
5 CATEGORY="x-window"
6 SHORT_DESC="St is a simple terminal implementation for X."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://st.suckless.org/"
11 WGET_URL="http://dl.suckless.org/st/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libX11 xorg-libXft fontconfig freetype ncursesw-extra"
15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev fontconfig-dev \
16 freetype-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make CC=${HOST_SYSTEM}-gcc
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE}
28 cp -a ${src}/${PACKAGE} $fs/usr/bin
29 cp ${src}/st.info $fs/usr/share/${PACKAGE}
30 }
32 post_install()
33 {
34 chroot "$1/" tic -s /usr/share/${PACKAGE}/st.info
35 }