wok view st/receipt @ rev 18651
Add libtkimg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 13:32:37 2015 +0100 (2015-12-02) |
parents | |
children | 9e01bc6321ea |
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 }