wok-next view slitaz-eeepc/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | cd7906120828 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-eeepc"
4 VERSION="1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz EeePC scripts and configuration files"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 REPOLOGY="-"
12 genpkg_rules() {
13 mkdir -p \
14 $fs/etc/init.d \
15 $fs/etc/skel/Desktop \
16 $fs/usr/share/doc/slitaz-flavors \
17 $fs/sbin
18 # Tool and boot script
19 cp $stuff/eeepc.sh $fs/etc/init.d
20 cp $stuff/tazeee $fs/sbin
21 # Images
22 cp -a $stuff/images $fs/usr/share
23 cp -a $stuff/pixmaps $fs/usr/share
24 # Doc
25 cp -a $stuff/eeepc.html $fs/usr/share/doc/slitaz-flavors
26 # Desktop icon
27 cp -a $stuff/applications/tazeee.desktop $fs/etc/skel/Desktop
28 # Config
29 touch $fs/etc/eeepc.conf
30 chown -R root.root $fs
31 DEPENDS="915resolution dmidecode linux-acpi linux-wireless"
32 }
34 pre_install() {
35 . "$1/etc/rcS.conf"
36 sed -i s/'RUN_SCRIPTS="'/'RUN_SCRIPTS="eeepc.sh '/ "$1/etc/rcS.conf"
37 # Load module ac and battery
38 sed -i s/"LOAD_MODULES=\"$LOAD_MODULES\""/"LOAD_MODULES=\"$LOAD_MODULES ac battery\""/ \
39 "$1/etc/rcS.conf"
40 }
42 pre_remove() {
43 sed -i s/'RUN_SCRIPTS="eeepc.sh '/'RUN_SCRIPTS="'/ /etc/rcS.conf
44 }