wok-next view hardware-ibm-6272/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 | 9e01bc6321ea |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hardware-ibm-6272"
4 VERSION="1.0"
5 CATEGORY="base-system"
6 MAINTAINER="devel@slitaz.org"
7 LICENSE="BSD"
8 SHORT_DESC="IBM 300GL 6272/6282 (P75-233 ISA/PCI/USB/ETH desktop) hardware support"
9 WEB_SITE="http://www.slitaz.org/"
11 genpkg_rules() {
12 install -Dm755 $stuff/pnp.sh $fs/etc/init.d/pnp.sh
13 DEPENDS="isapnptools"
14 }
16 pre_remove() {
17 sed -i 's/pnp.sh //' "$1/etc/rcS.conf"
18 }
20 post_install() {
21 grep pnp.sh "$1/etc/rcS.conf" ||
22 sed -i 's/RUN_SCRIPTS="/&pnp.sh /' "$1/etc/rcS.conf"
23 }