wok view slitaz-eeepc/receipt @ rev 25351

updated tesseract and tesseract-dev (3.02.02 -> 5.2.0)
author Hans-G?nter Theisgen
date Tue Jul 26 13:57:27 2022 +0100 (2022-07-26)
parents eb8067417980
children
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-eeepc"
4 VERSION="1.2"
5 CATEGORY="system-tools"
6 MAINTAINER="pankso@slitaz.org"
7 LICENSE="GPL3"
8 WEB_SITE="http://www.slitaz.org/"
10 SHORT_DESC="SliTaz EeePC scripts and configuration files."
11 DEPENDS="915resolution dmidecode linux-acpi linux-wireless"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p \
17 $fs/etc/init.d \
18 $fs/etc/skel/Desktop \
19 $fs/usr/share/doc/slitaz-flavors \
20 $fs/sbin
21 # Tool and boot script
22 cp stuff/eeepc.sh $fs/etc/init.d
23 cp stuff/tazeee $fs/sbin
24 # Images
25 cp -a stuff/images $fs/usr/share
26 cp -a stuff/pixmaps $fs/usr/share
27 # Doc
28 cp -a stuff/eeepc.html $fs/usr/share/doc/slitaz-flavors
29 # Desktop icon
30 cp -a stuff/applications/tazeee.desktop $fs/etc/skel/Desktop
31 # Config
32 touch $fs/etc/eeepc.conf
33 chown -R root.root $fs
34 }
36 pre_install()
37 {
38 . "$1/etc/rcS.conf"
39 sed -i s/'RUN_SCRIPTS="'/'RUN_SCRIPTS="eeepc.sh '/ "$1/etc/rcS.conf"
40 # Load module ac and battery
41 sed -i s/"LOAD_MODULES=\"$LOAD_MODULES\""/"LOAD_MODULES=\"$LOAD_MODULES ac battery\""/ \
42 "$1/etc/rcS.conf"
43 }
45 pre_remove()
46 {
47 sed -i s/'RUN_SCRIPTS="eeepc.sh '/'RUN_SCRIPTS="'/ /etc/rcS.conf
48 }