myexparam name= myexparam -b autogen=false WORK="${WORKBASE}/$(exparam name)-${PV}" if [[ "${PV}" == scm ]] ; then SCM_SUBPATH="$(exparam name)" SCM_CHECKOUT_TO="${SCM_SUBPATH}" SCM_UNPACK_TO="${WORK}" SCM_REPOSITORY="https://cdemu.svn.sourceforge.net/svnroot/cdemu/" require scm-svn $(exparam autogen) && require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.10 ] ] else DOWNLOADS="mirror://sourceforge/cdemu/$(exparam name)-${PV}.tar.bz2" fi HOMEPAGE="http://cdemu.sourceforge.net/" if [[ "${PN}" == cdemu || "${PN}" == cdemud ]] ; then SUMMARY="A CD/DVD-ROM device emulator." DESCRIPTION="A CD/DVD-ROM device emulator for Linux. It is a from-scratch rewrite of the legacy CDEmu project, which was started by Robert Penz." fi LICENCES="GPL-2" REMOTE_IDS="sourceforge:cdemu freshmeat:cdemu" src_prepare() { exparam -v WANT_AUTOGEN autogen default if [[ "${PV}" == scm ]] ; then if ${WANT_AUTOGEN} ; then edo ./autogen.sh fi fi }