wok-next view hardware-ibm-6272/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
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 }