wok-next rev 20545

vmtouch: create $install/usr/bin path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 03 15:08:22 2018 +0200 (2018-04-03)
parents d305457ae6b8
children 4afc7e1aa20a
files vmtouch/receipt
line diff
     1.1 --- a/vmtouch/receipt	Tue Apr 03 14:59:14 2018 +0300
     1.2 +++ b/vmtouch/receipt	Tue Apr 03 15:08:22 2018 +0200
     1.3 @@ -16,13 +16,13 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	gcc -Wall -O2 -o vmtouch vmtouch.c
     1.8 +	gcc -Wall -O2 -o vmtouch vmtouch.c &&
     1.9 +	mkdir -p $install/usr/bin &&
    1.10 +	cp -a $PACKAGE $install/usr/bin
    1.11  }
    1.12  
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/bin
    1.17 -	cp -a $src/$PACKAGE $fs/usr/bin
    1.18 +	cp -a $install/usr $fs/
    1.19  }
    1.20 -