wok annotate slang/receipt @ rev 24011

mosh: create /usr/share/terminfo/x/xterm-256color link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 05 17:16:12 2021 +0000 (2021-02-05)
parents d3eb5f4b53ea
children 934055de50e2
rev   line source
erjo@506 1 # SliTaz package receipt.
erjo@506 2
erjo@506 3 PACKAGE="slang"
Hans-G?nter@21913 4 VERSION="2.3.2"
erjo@506 5 CATEGORY="development"
Hans-G?nter@21913 6 SHORT_DESC="S-Lang library."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
Hans-G?nter@21913 9 WEB_SITE="http://jedsoft.org/slang/"
erjo@506 10
Hans-G?nter@21913 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21913 12 WGET_URL="http://jedsoft.org/releases/$PACKAGE/$TARBALL"
Hans-G?nter@21913 13
Hans-G?nter@21913 14 DEPENDS="libpng pcre zlib"
erjo@9950 15
erjo@506 16 # Rules to configure and make the package.
erjo@506 17 compile_rules()
erjo@506 18 {
slaxemulator@11035 19 ./configure --prefix=/usr $CONFIGURE_ARGS &&
Hans-G?nter@21913 20 make -j1 &&
Hans-G?nter@21913 21 make -j1 elf &&
slaxemulator@8541 22 make -j1 static &&
erjo@9950 23 make -j1 DESTDIR=$DESTDIR install install-static
erjo@506 24 }
erjo@506 25
erjo@506 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@506 27 genpkg_rules()
erjo@506 28 {
erjo@9950 29 mkdir -p $fs/usr/lib
Hans-G?nter@21913 30
Hans-G?nter@21913 31 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21913 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21913 33 cp -a $install/usr/lib/slang $fs/usr/lib
erjo@506 34 }