wok-next view st/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 9278a60d6895 |
children | f99935f1778a |
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-xproto 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 }