wok-next diff ttyrec/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 8cf349cc0a47 |
children | d457c4e37c1b |
line diff
1.1 --- a/ttyrec/receipt Thu Apr 27 13:48:01 2017 +0200 1.2 +++ b/ttyrec/receipt Tue May 29 15:17:41 2018 +0300 1.3 @@ -1,27 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ttyrec" 1.8 VERSION="1.0.8" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="A tty recorder." 1.11 +SHORT_DESC="A tty recorder" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="http://0xcc.net/ttyrec" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://0xcc.net/ttyrec" 1.18 WGET_URL="$WEB_SITE/$TARBALL" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 +compile_rules() { 1.24 sed -i 's/union wait/int/' ttyrec.c 1.25 - make 1.26 + 1.27 + make || return 1 1.28 + 1.29 + mkdir -p $install/usr/bin/ 1.30 + cp ttyrec ttyplay ttytime $install/usr/bin/ 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 -a $src/ttyrec $fs/usr/bin 1.38 - cp -a $src/ttyplay $fs/usr/bin 1.39 - cp -a $src/ttytime $fs/usr/bin 1.40 +genpkg_rules() { 1.41 + copy @std 1.42 }