wok-next diff nomad/receipt @ rev 20958

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 06 04:28:48 2018 +0300 (2018-09-06)
parents 3765f181a6d5
children d5aab818505e
line diff
     1.1 --- a/nomad/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/nomad/receipt	Thu Sep 06 04:28:48 2018 +0300
     1.3 @@ -1,23 +1,20 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="nomad"
     1.8  VERSION="0.1"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="user friendly wifi configure for nomads."
    1.11 -WEB_SITE="http://doc.slitaz.org/en:guides:wifi-easy"
    1.12 +SHORT_DESC="User friendly Wi-Fi configure for nomads"
    1.13  MAINTAINER="sygne@ombres.eu"
    1.14  LICENSE="GPL3"
    1.15 +WEB_SITE="http://doc.slitaz.org/en:guides:wifi-easy"
    1.16  
    1.17 -DEPENDS="gtkdialog wireless_tools"
    1.18 -
    1.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 -genpkg_rules()
    1.21 -{
    1.22 -	mkdir -p $fs/usr/sbin
    1.23 -	cp -a stuff/nomad $fs/usr/sbin/
    1.24 -	cp -a stuff/nomadbox $fs/usr/sbin/
    1.25 -
    1.26 -	mkdir $fs/etc
    1.27 -	cp -a stuff/nomad.conf $fs/etc/
    1.28 +compile_rules() {
    1.29 +	install -Dm755 $stuff/nomad      $install/usr/sbin/nomad
    1.30 +	install -Dm755 $stuff/nomadbox   $install/usr/sbin/nomadbox
    1.31 +	install -Dm644 $stuff/nomad.conf $install/etc/nomad.conf
    1.32  }
    1.33  
    1.34 +genpkg_rules() {
    1.35 +	copy @std
    1.36 +	DEPENDS="gtkdialog wireless_tools"
    1.37 +}