wok-next view st/receipt @ rev 20942

Updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 28 08:45:59 2018 +0300 (2018-08-28)
parents c4e53a39395a
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="st"
4 VERSION="0.7"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple terminal implementation for X"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://st.suckless.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://dl.suckless.org/st/$TARBALL"
14 DEPENDS="fontconfig freetype xorg-libX11 xorg-libXft"
15 BUILD_DEPENDS="fontconfig-dev freetype-dev xorg-xorgproto xorg-libX11-dev \
16 xorg-libXft-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # fix PREFIX
22 sed -i "s|/usr/local|/usr|" config.mk
23 # install terminfo files into DESTDIR
24 sed -i "s|st.info|& -o$install/usr/share/terminfo|" Makefile
26 make CC=$HOST_SYSTEM-gcc && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 copy @std
33 }