23 lines
942 B
Makefile
23 lines
942 B
Makefile
|
|
preinstall:
|
|
echo 'USE="$$USE qt3support xcomposite opengl"' >> "$(CHROOT)"/etc/make.conf
|
|
|
|
postinstall: kdmrc Xaccess local knotifyrc
|
|
cp kdmrc Xaccess "$(CHROOT)"/usr/share/config/kdm
|
|
mkdir -p "$(CHROOT)"/etc/skel/.kde4/share/config
|
|
cp knotifyrc "$(CHROOT)"/etc/skel/.kde4/share/config/knotifyrc
|
|
chroot "$(CHROOT)" rc-update add dbus default
|
|
if [ -e "$(CHROOT)"/etc/conf.d/xdm ]; then \
|
|
sed -i 's/^DISPLAYMANAGER=.*/DISPLAYMANAGER="kdm"/' \
|
|
"$(CHROOT)"/etc/conf.d/xdm; \
|
|
chroot "$(CHROOT)" rc-update add xdm default; \
|
|
elif [ -f "$(CHROOT)/etc/conf.d/local" ]; then \
|
|
cp local "$(CHROOT)/etc/conf.d/local"; \
|
|
else \
|
|
echo "/usr/bin/kdm -daemon" >> "$(CHROOT)"/etc/conf.d/local.start; \
|
|
fi
|
|
|
|
clean:
|
|
|
|
|