wok-next view hardware-ibm-6272/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
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 }