wok-next view st/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 9e01bc6321ea |
children | c4e53a39395a |
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/"
10 #HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://dl.suckless.org/st/$TARBALL"
15 DEPENDS="fontconfig freetype xorg-libX11 xorg-libXft"
16 BUILD_DEPENDS="fontconfig-dev freetype-dev xorg-xproto xorg-libX11-dev \
17 xorg-libXft-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # fix PREFIX
23 sed -i "s|/usr/local|/usr|" config.mk
24 # install terminfo files into DESTDIR
25 sed -i "s|st.info|& -o$install/usr/share/terminfo|" Makefile
27 make CC=$HOST_SYSTEM-gcc && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 copy @std
34 }