wok-next annotate st/receipt @ rev 20827
new tor: 0.3.3.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Jun 14 10:13:14 2018 +0000 (2018-06-14) |
parents | 9278a60d6895 |
children | f99935f1778a |
rev | line source |
---|---|
pankso@16429 | 1 # SliTaz package receipt. |
pankso@16429 | 2 |
pankso@16429 | 3 PACKAGE="st" |
al@19741 | 4 VERSION="0.7" |
pankso@16429 | 5 CATEGORY="x-window" |
al@19741 | 6 SHORT_DESC="Simple terminal implementation for X" |
pankso@16429 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16429 | 8 LICENSE="BSD" |
pankso@16429 | 9 WEB_SITE="http://st.suckless.org/" |
pankso@16429 | 10 |
al@19741 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19741 | 12 WGET_URL="http://dl.suckless.org/st/$TARBALL" |
al@19741 | 13 |
al@19741 | 14 DEPENDS="fontconfig freetype xorg-libX11 xorg-libXft" |
al@19741 | 15 BUILD_DEPENDS="fontconfig-dev freetype-dev xorg-xproto xorg-libX11-dev \ |
al@19741 | 16 xorg-libXft-dev" |
pankso@16429 | 17 |
pankso@16429 | 18 # Rules to configure and make the package. |
pankso@16429 | 19 compile_rules() |
pankso@16429 | 20 { |
al@19741 | 21 # fix PREFIX |
al@19741 | 22 sed -i "s|/usr/local|/usr|" config.mk |
al@19741 | 23 # install terminfo files into DESTDIR |
al@19741 | 24 sed -i "s|st.info|& -o$install/usr/share/terminfo|" Makefile |
al@19741 | 25 |
al@19741 | 26 make CC=$HOST_SYSTEM-gcc && make install |
pankso@16429 | 27 } |
pankso@16429 | 28 |
pankso@16429 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16429 | 30 genpkg_rules() |
pankso@16429 | 31 { |
al@19741 | 32 copy @std |
pankso@16429 | 33 } |