# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Cdrom mounter for the lazy user" HOMEPAGE="http://sourceforge.net/projects/autorun/" SRC_URI="http://unc.dl.sourceforge.net/sourceforge/autorun/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" DEPEND="app-text/xmlto" #RDEPEND="" S=${WORKDIR}/${P} src_compile() { export NOTIFY_PATH="`which kfmclient` configureDesktop" econf || die emake || die } src_install() { einstall || die } pkg_postinst() { echo einfo "Autorun automagically recognises all available CDROMs in your system," einfo "mounts them upon insertion and executes a possible 'autorun' executable on the" einfo "CD. To allow an ordinary user to do this you have to add the options" einfo "user,exec in /etc/fstab to the CDROMs you want to use." echo einfo "You may also use Autorun.kdelnk for KDE. Just place it in your Autostart" einfo "folder." echo einfo "Harald Hoyer " echo }