2009-03-06 05:17:46 +01:00
|
|
|
# Template file for 'initscripts'
|
|
|
|
pkgname=initscripts
|
2009-03-26 10:07:50 +01:00
|
|
|
version=2009.03
|
2009-03-29 16:21:29 +02:00
|
|
|
revision=2
|
2009-03-06 05:17:46 +01:00
|
|
|
build_style=custom-install
|
|
|
|
short_desc="xbps base system init scripts"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
long_desc="
|
|
|
|
This package installs the xbps base init scripts, used for booting
|
|
|
|
the system and starting/stopping services.
|
|
|
|
|
|
|
|
The scripts use the BSD style and contain portions from Arch Linux and
|
|
|
|
from NetBSD."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
conf_files="/etc/inittab /etc/rc.conf /etc/rc.local /etc/rc.local.shutdown"
|
|
|
|
keep_dirs="/etc/rc.d /etc/rc.conf.d"
|
|
|
|
|
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full bash
|
|
|
|
Add_dependency full gawk
|
|
|
|
Add_dependency full grep
|
|
|
|
Add_dependency full coreutils
|
|
|
|
Add_dependency full sed
|
|
|
|
Add_dependency full udev
|
|
|
|
Add_dependency full kbd
|
|
|
|
Add_dependency full findutils
|
|
|
|
Add_dependency full net-tools
|
|
|
|
Add_dependency full rcorder
|
|
|
|
Add_dependency full minilogd
|
2009-03-06 08:19:05 +01:00
|
|
|
Add_dependency full dhcpcd
|
2009-03-06 05:17:46 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2009-03-11 06:31:56 +01:00
|
|
|
install -d ${DESTDIR}/etc/rc.d
|
|
|
|
install -d ${DESTDIR}/etc/rc.conf.d
|
|
|
|
install -d ${DESTDIR}/etc/defaults
|
2009-03-06 05:17:46 +01:00
|
|
|
|
|
|
|
for f in inittab rc.*; do
|
2009-03-11 06:31:56 +01:00
|
|
|
install -m755 ${FILESDIR}/${f} ${DESTDIR}/etc
|
2009-03-06 05:17:46 +01:00
|
|
|
done
|
2009-03-11 06:31:56 +01:00
|
|
|
install -m644 ${FILESDIR}/defaults/rc.conf ${DESTDIR}/etc/defaults
|
|
|
|
install -m755 ${FILESDIR}/rc.d/* ${DESTDIR}/etc/rc.d
|
2009-03-06 05:17:46 +01:00
|
|
|
}
|