Make installation of bl-1 stuff optional.

This commit is contained in:
Wulf C. Krueger 2010-10-09 22:09:33 +02:00 committed by Daniel Mierswa
parent 5f8a489622
commit 2ac5940673

View file

@ -18,11 +18,13 @@ DEPENDENCIES="
run:
app-emulation/vhba-module
"
MYOPTIONS="baselayout"
cdemud_src_install() {
default
hereinitd cdemud <<EOF
if option baselayout ; then
hereinitd cdemud <<EOF
#!/sbin/runscript
depend() {
@ -43,9 +45,10 @@ stop() {
}
EOF
hereconfd cdemud <<EOF
hereconfd cdemud <<EOF
# options passed to the cdemud
#CDEMUD_OPTS=--num-devices=10
EOF
fi
}