# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=busybox-initscripts pkgver=2.2 pkgrel=18 pkgdesc="Init scripts for busybox daemons" url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts" arch="noarch" license="GPL-2" depends="busybox" makedepends= install=$pkgname.post-install subpackages= replaces="alpine-baselayout" source="acpid.initd cron.initd dnsd.initd httpd.initd inetd.initd klogd.initd mdev-mount.initd mdev.initd rdate.initd syslog.initd watchdog.initd cron.confd klogd.confd rdate.confd syslog.confd watchdog.confd mdev.conf dvbdev ide_links usbdev usbdisk_link xvd_links default.script " build() { 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 <