exherbo-impulze/exlibs/cdemu-common.exlib

44 lines
1 KiB
Bash
Raw Normal View History

2009-08-20 19:46:51 +02:00
myexparam name=
myexparam suffix=.tar.bz2
2009-08-20 19:46:51 +02:00
myexparam -b autogen=false
WORK="${WORKBASE}/$(exparam name)-${PV}"
2009-08-20 19:46:51 +02:00
if [[ "${PV}" == scm ]] ; then
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
$(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}$(exparam suffix)"
2009-08-20 19:46:51 +02:00
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
2009-08-20 19:46:51 +02:00
default
if [[ "${PV}" == scm ]] ; then
if ${WANT_AUTOGEN} ; then
2010-03-11 11:37:00 +01:00
edo ./autogen.sh
fi
2009-08-20 19:46:51 +02:00
fi
}