wok-next view hardware-ibm-6272/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 | 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 }