exherbo-impulze/exlibs/cdemu-common.exlib
Daniel Mierswa a055948a8a Use edo.
2010-03-11 11:37:00 +01:00

43 lines
1 KiB
Bash

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
}