wok-next annotate st/receipt @ rev 21058
Update viewnior (1.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 03 23:35:15 2018 +0200 (2018-12-03) |
parents | f99935f1778a |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
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" |
al@21020 | 7 MAINTAINER="devel@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@20935 | 14 BUILD_DEPENDS="fontconfig-dev freetype-dev xorg-xorgproto xorg-libX11-dev \ |
al@19741 | 15 xorg-libXft-dev" |
pankso@16429 | 16 |
al@21020 | 17 compile_rules() { |
al@19741 | 18 # fix PREFIX |
al@19741 | 19 sed -i "s|/usr/local|/usr|" config.mk |
al@19741 | 20 # install terminfo files into DESTDIR |
al@19741 | 21 sed -i "s|st.info|& -o$install/usr/share/terminfo|" Makefile |
al@19741 | 22 |
al@21020 | 23 make CC=$HOST_SYSTEM-gcc && |
al@21020 | 24 make install |
pankso@16429 | 25 } |
pankso@16429 | 26 |
al@21020 | 27 genpkg_rules() { |
al@19741 | 28 copy @std |
al@21020 | 29 DEPENDS="fontconfig freetype xorg-libX11 xorg-libXft" |
pankso@16429 | 30 } |