wok-next annotate ckermit/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
parents 8f50006d2661
children d635206a5649
rev   line source
al@20461 1 # SliTaz package receipt v2.
pascal@14002 2
pascal@14002 3 PACKAGE="ckermit"
pascal@14002 4 VERSION="9.0.302"
pascal@14002 5 CATEGORY="network"
al@20461 6 SHORT_DESC="Portable Scriptable Network and Serial Communication Software"
pascal@14002 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="BSD"
pascal@14002 9 WEB_SITE="http://www.columbia.edu/kermit/ck90.html"
al@20461 10
pascal@14002 11 TARBALL="cku${VERSION##*.}.tar.gz"
pascal@14002 12 WGET_URL="ftp://kermit.columbia.edu/kermit/archives/$TARBALL"
pascal@14002 13
pascal@14002 14 BUILD_DEPENDS="ncurses-dev"
pascal@14002 15
al@20461 16 compile_rules() {
al@20461 17 make linux "LNKFLAGS=-lncurses" || return 1
al@20461 18
al@20461 19 install -Dm755 $src/wart $install/usr/bin/wart
al@20461 20 install -Dm755 $src/wermit $install/usr/bin/wermit
pascal@14002 21 }
pascal@14002 22
al@20461 23 genpkg_rules() {
al@20461 24 copy @std
al@20461 25 DEPENDS="ncurses"
pascal@14002 26 }