wok-next annotate hardware-ibm-6272/receipt @ rev 21684
updated glew (2.1.0 -> 2.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 15:40:33 2020 +0100 (2020-06-29) |
parents | 9e01bc6321ea |
children |
rev | line source |
---|---|
pascal@11552 | 1 # SliTaz package receipt. |
pascal@11552 | 2 |
pascal@11552 | 3 PACKAGE="hardware-ibm-6272" |
pascal@11552 | 4 VERSION="1.0" |
pascal@11552 | 5 CATEGORY="base-system" |
pascal@11552 | 6 MAINTAINER="devel@slitaz.org" |
pascal@15215 | 7 LICENSE="BSD" |
pascal@11552 | 8 SHORT_DESC="IBM 300GL 6272/6282 (P75-233 ISA/PCI/USB/ETH desktop) hardware support" |
pascal@11552 | 9 WEB_SITE="http://www.slitaz.org/" |
pascal@11552 | 10 |
al@21020 | 11 genpkg_rules() { |
al@21020 | 12 install -Dm755 $stuff/pnp.sh $fs/etc/init.d/pnp.sh |
al@21020 | 13 DEPENDS="isapnptools" |
pascal@11552 | 14 } |
pascal@11552 | 15 |
al@21020 | 16 pre_remove() { |
pascal@18730 | 17 sed -i 's/pnp.sh //' "$1/etc/rcS.conf" |
pascal@17847 | 18 } |
pascal@17847 | 19 |
al@21020 | 20 post_install() { |
pascal@18730 | 21 grep pnp.sh "$1/etc/rcS.conf" || |
pascal@18730 | 22 sed -i 's/RUN_SCRIPTS="/&pnp.sh /' "$1/etc/rcS.conf" |
pascal@11552 | 23 } |