wok-next diff get-dsl-firmware/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d958fec46c9f |
children | 0cbe4b1f2230 |
line diff
1.1 --- a/get-dsl-firmware/receipt Tue Jul 10 20:08:05 2018 +0300 1.2 +++ b/get-dsl-firmware/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,20 +1,22 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="get-dsl-firmware" 1.8 VERSION="1.0" 1.9 CATEGORY="non-free" 1.10 -SHORT_DESC="Get misc dsl modem firmwares." 1.11 +SHORT_DESC="Get misc DSL modem firmwares" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 WEB_SITE="http://hg.slitaz.org/wok/file/tip/$PACKAGE/stuff/$PACKAGE" 1.15 REPOLOGY="-" 1.16 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/bin 1.21 - cp $stuff/$PACKAGE $fs/usr/bin 1.22 - for i in speedtouch speedtouch-silver ueagle ueagle-atm speedtch ; do 1.23 - ln -s $PACKAGE $fs/usr/bin/get-$i-firmware 1.24 +compile_rules() { 1.25 + install -Dm755 $stuff/$PACKAGE $install/usr/bin/$PACKAGE 1.26 + 1.27 + for i in speedtouch speedtouch-silver ueagle ueagle-atm speedtch; do 1.28 + ln -s $PACKAGE $install/usr/bin/get-$i-firmware 1.29 done 1.30 } 1.31 + 1.32 +genpkg_rules() { 1.33 + copy @std 1.34 +}