wok-next diff slitaz-eeepc/receipt @ rev 21032
Fix some homepages: follow HTTP redirections.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 17:26:00 2018 +0200 (2018-11-03) |
parents | cd7906120828 |
children |
line diff
1.1 --- a/slitaz-eeepc/receipt Sat Jul 14 17:43:03 2018 +0300 1.2 +++ b/slitaz-eeepc/receipt Sat Nov 03 17:26:00 2018 +0200 1.3 @@ -3,39 +3,35 @@ 1.4 PACKAGE="slitaz-eeepc" 1.5 VERSION="1.2" 1.6 CATEGORY="system-tools" 1.7 -SHORT_DESC="SliTaz EeePC scripts and configuration files." 1.8 -MAINTAINER="pankso@slitaz.org" 1.9 +SHORT_DESC="SliTaz EeePC scripts and configuration files" 1.10 +MAINTAINER="devel@slitaz.org" 1.11 LICENSE="GPL3" 1.12 WEB_SITE="http://www.slitaz.org/" 1.13 REPOLOGY="-" 1.14 1.15 -DEPENDS="915resolution dmidecode linux-acpi linux-wireless" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 +genpkg_rules() { 1.21 mkdir -p \ 1.22 $fs/etc/init.d \ 1.23 $fs/etc/skel/Desktop \ 1.24 $fs/usr/share/doc/slitaz-flavors \ 1.25 $fs/sbin 1.26 # Tool and boot script 1.27 - cp stuff/eeepc.sh $fs/etc/init.d 1.28 - cp stuff/tazeee $fs/sbin 1.29 + cp $stuff/eeepc.sh $fs/etc/init.d 1.30 + cp $stuff/tazeee $fs/sbin 1.31 # Images 1.32 - cp -a stuff/images $fs/usr/share 1.33 - cp -a stuff/pixmaps $fs/usr/share 1.34 + cp -a $stuff/images $fs/usr/share 1.35 + cp -a $stuff/pixmaps $fs/usr/share 1.36 # Doc 1.37 - cp -a stuff/eeepc.html $fs/usr/share/doc/slitaz-flavors 1.38 + cp -a $stuff/eeepc.html $fs/usr/share/doc/slitaz-flavors 1.39 # Desktop icon 1.40 - cp -a stuff/applications/tazeee.desktop $fs/etc/skel/Desktop 1.41 + cp -a $stuff/applications/tazeee.desktop $fs/etc/skel/Desktop 1.42 # Config 1.43 touch $fs/etc/eeepc.conf 1.44 chown -R root.root $fs 1.45 + DEPENDS="915resolution dmidecode linux-acpi linux-wireless" 1.46 } 1.47 1.48 -pre_install() 1.49 -{ 1.50 +pre_install() { 1.51 . "$1/etc/rcS.conf" 1.52 sed -i s/'RUN_SCRIPTS="'/'RUN_SCRIPTS="eeepc.sh '/ "$1/etc/rcS.conf" 1.53 # Load module ac and battery 1.54 @@ -43,7 +39,6 @@ 1.55 "$1/etc/rcS.conf" 1.56 } 1.57 1.58 -pre_remove() 1.59 -{ 1.60 +pre_remove() { 1.61 sed -i s/'RUN_SCRIPTS="eeepc.sh '/'RUN_SCRIPTS="'/ /etc/rcS.conf 1.62 }