wok diff st/receipt @ rev 18033

Up: tazlito (383), xorg-xf86-video-nouveau (1.0.11)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri May 08 19:30:55 2015 +0200 (2015-05-08)
parents
children 9e01bc6321ea
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/st/receipt	Fri May 08 19:30:55 2015 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="st"
     1.7 +VERSION="0.5"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="St is a simple terminal implementation for X."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://st.suckless.org/"
    1.14 +WGET_URL="http://dl.suckless.org/st/$TARBALL"
    1.15 +#HOST_ARCH="i486 arm"
    1.16 +
    1.17 +DEPENDS="xorg-libX11 xorg-libXft fontconfig freetype ncursesw-extra"
    1.18 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev fontconfig-dev \
    1.19 +freetype-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	make CC=${HOST_SYSTEM}-gcc
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE}
    1.31 +	cp -a ${src}/${PACKAGE} $fs/usr/bin
    1.32 +	cp ${src}/st.info $fs/usr/share/${PACKAGE}
    1.33 +}
    1.34 +
    1.35 +post_install()
    1.36 +{
    1.37 +	chroot $1/ tic -s /usr/share/${PACKAGE}/st.info
    1.38 +}