2009-08-20 19:46:51 +02:00
|
|
|
myexparam name=
|
|
|
|
myexparam -b autogen=false
|
|
|
|
|
2010-02-20 20:40:26 +01:00
|
|
|
WORK="${WORKBASE}/$(exparam name)-${PV}"
|
2009-08-20 19:46:51 +02:00
|
|
|
|
|
|
|
if [[ "${PV}" == scm ]] ; then
|
2009-10-13 01:41:15 +02:00
|
|
|
SCM_SUBPATH="$(exparam name)"
|
|
|
|
SCM_CHECKOUT_TO="${SCM_SUBPATH}"
|
2009-08-20 19:46:51 +02:00
|
|
|
SCM_UNPACK_TO="${WORK}"
|
|
|
|
SCM_REPOSITORY="https://cdemu.svn.sourceforge.net/svnroot/cdemu/"
|
|
|
|
require scm-svn
|
|
|
|
|
2009-10-13 01:41:15 +02:00
|
|
|
$(exparam autogen) && require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.10 ] ]
|
2009-08-20 19:46:51 +02:00
|
|
|
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() {
|
2009-10-13 01:41:15 +02:00
|
|
|
exparam -v WANT_AUTOGEN autogen
|
|
|
|
|
2009-08-20 19:46:51 +02:00
|
|
|
default
|
|
|
|
|
2009-10-13 01:41:15 +02:00
|
|
|
if [[ "${PV}" == scm ]] ; then
|
|
|
|
if ${WANT_AUTOGEN} ; then
|
2010-03-11 11:37:00 +01:00
|
|
|
edo ./autogen.sh
|
2009-10-13 01:41:15 +02:00
|
|
|
fi
|
2009-08-20 19:46:51 +02:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|