# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=busybox-initscripts pkgver=3.0 pkgrel=3 pkgdesc="Init scripts for busybox daemons" url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts" arch="noarch" license="GPL2" depends="busybox" makedepends="" install="$pkgname.post-install $pkgname.post-upgrade" subpackages="" replaces="alpine-baselayout openntpd" source="acpid.initd crond.initd dnsd.initd httpd.initd inetd.initd klogd.initd mdev.initd ntpd.initd rdate.initd syslog.initd udhcpd.initd watchdog.initd crond.confd klogd.confd ntpd.confd rdate.confd syslog.confd watchdog.confd mdev.conf dvbdev ide_links usbdev usbdisk_link xvd_links default.script " prepare() { return 0 } package() { local i cd "$srcdir" mkdir -p "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d "$pkgdir"/lib/mdev\ "$pkgdir"/etc/acpi/PWRF for i in *.initd; do install -m755 "$srcdir"/$i "$pkgdir"/etc/init.d/${i%.*} || return 1 done for i in *.confd; do install -m644 "$srcdir"/$i "$pkgdir"/etc/conf.d/${i%.*} || return 1 done install -m644 mdev.conf "$pkgdir"/etc install -m755 dvbdev ide_links usbdev usbdisk_link xvd_links "$pkgdir"/lib/mdev/ # poweroff script for acpid cat >"$pkgdir"/etc/acpi/PWRF/00000080 <