# $Id$ PNAME="splashy" PVER="0.3.13" PBUILD="r2" PCATEGORIE="media-gfx" STATE="unstable" DESCRIPTION="Splashy is a complete user-mode boot splashing system." HOMEPAGE="http://alioth.debian.org/projects/splashy/" DEPEND=">= dev-libs/directfb-1.2 >= dev-libs/glib2-2.28 >= sys-libs/zlib-1.2.5" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://alioth.debian.org/frs/download.php/2691/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-fix-theme-path.patch ) UP2DATE="updatecmd ${HOMEPAGE} | grep -A5 'Latest File' | grep ']${PNAME}' | sed -n 's/.*]${PNAME}\ \(.*\)\ -.*/\1/;$ p'" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix theme pathes in config.xml mpatch ${PNAME}-${PVER}-fix-theme-path.patch || die } src_compile() { cd ${SRCDIR} mconfigure --enable-debug || die mmake -j1 || die }