# HG changeset patch # User Pascal Bellard # Date 1522760902 -7200 # Node ID d6c95474e8a1f37841382ecc56f9d479dab8b81c # Parent d305457ae6b8ea3ad6144c4ce81b88fad4bf3f6d vmtouch: create $install/usr/bin path diff -r d305457ae6b8 -r d6c95474e8a1 vmtouch/receipt --- a/vmtouch/receipt Tue Apr 03 14:59:14 2018 +0300 +++ b/vmtouch/receipt Tue Apr 03 15:08:22 2018 +0200 @@ -16,13 +16,13 @@ # Rules to configure and make the package. compile_rules() { - gcc -Wall -O2 -o vmtouch vmtouch.c + gcc -Wall -O2 -o vmtouch vmtouch.c && + mkdir -p $install/usr/bin && + cp -a $PACKAGE $install/usr/bin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin + cp -a $install/usr $fs/ } -