wok-current annotate st/receipt @ rev 19207

Add liboping
author Paul Issott <paul@slitaz.org>
date Sun Jun 12 15:30:59 2016 +0100 (2016-06-12)
parents 28f3ef225377
children 063c090815cb
rev   line source
pankso@16429 1 # SliTaz package receipt.
pankso@16429 2
pankso@16429 3 PACKAGE="st"
pankso@16429 4 VERSION="0.5"
pankso@16429 5 CATEGORY="x-window"
pankso@16429 6 SHORT_DESC="St is a simple terminal implementation for X."
pankso@16429 7 MAINTAINER="pankso@slitaz.org"
pankso@16429 8 LICENSE="BSD"
pankso@16429 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16429 10 WEB_SITE="http://st.suckless.org/"
pankso@16429 11 WGET_URL="http://dl.suckless.org/st/$TARBALL"
pankso@16429 12 #HOST_ARCH="i486 arm"
pankso@16429 13
pankso@16429 14 DEPENDS="xorg-libX11 xorg-libXft fontconfig freetype ncursesw-extra"
pankso@16429 15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev fontconfig-dev \
pankso@16429 16 freetype-dev"
pankso@16429 17
pankso@16429 18 # Rules to configure and make the package.
pankso@16429 19 compile_rules()
pankso@16429 20 {
pankso@16429 21 make CC=${HOST_SYSTEM}-gcc
pankso@16429 22 }
pankso@16429 23
pankso@16429 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16429 25 genpkg_rules()
pankso@16429 26 {
pankso@16429 27 mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE}
pankso@16429 28 cp -a ${src}/${PACKAGE} $fs/usr/bin
pankso@16429 29 cp ${src}/st.info $fs/usr/share/${PACKAGE}
pankso@16429 30 }
pankso@16429 31
pankso@16429 32 post_install()
pankso@16429 33 {
pascal@18730 34 chroot "$1/" tic -s /usr/share/${PACKAGE}/st.info
pankso@16429 35 }