wok-next diff ckermit/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 8f50006d2661 |
children | d635206a5649 |
line diff
1.1 --- a/ckermit/receipt Fri Mar 10 14:31:18 2017 +0200 1.2 +++ b/ckermit/receipt Mon Jul 02 10:15:48 2018 +0300 1.3 @@ -1,28 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ckermit" 1.8 VERSION="9.0.302" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Portable Scriptable Network and Serial Communication Software." 1.11 +SHORT_DESC="Portable Scriptable Network and Serial Communication Software" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 WEB_SITE="http://www.columbia.edu/kermit/ck90.html" 1.15 + 1.16 TARBALL="cku${VERSION##*.}.tar.gz" 1.17 WGET_URL="ftp://kermit.columbia.edu/kermit/archives/$TARBALL" 1.18 1.19 -DEPENDS="ncurses" 1.20 BUILD_DEPENDS="ncurses-dev" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - make linux "LNKFLAGS=-lncurses" 1.26 +compile_rules() { 1.27 + make linux "LNKFLAGS=-lncurses" || return 1 1.28 + 1.29 + install -Dm755 $src/wart $install/usr/bin/wart 1.30 + install -Dm755 $src/wermit $install/usr/bin/wermit 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 - mkdir -p $fs/usr/bin 1.37 - cp $src/wart $fs/usr/bin 1.38 - cp $src/wermit $fs/usr/bin 1.39 +genpkg_rules() { 1.40 + copy @std 1.41 + DEPENDS="ncurses" 1.42 }