# $Id: scim-1.4.9-r1.smage2 4931 2010-02-17 10:17:07Z niro $ PNAME="scim" PVER="1.4.9" PBUILD="r2" PCATEGORIE="app-text" STATE="unstable" DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform." HOMEPAGE="http://www.scim-im.org/" DEPEND=">= x11-libs/libX11-1.3 >= dev-libs/glib2-2.24 >= dev-libs/atk-1.30 >= x11-libs/pango-1.28 >= x11-libs/gtk2+-2.20" SDEPEND=">= x11-libs/libXt-1 >= dev-lang/perl-5.12 >= dev-util/pkgconfig-0.25 >= dev-util/intltool-0.41 >= sys-dev/libtool-2.2" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-gcc45.patch ) UP2DATE="updatecmd_sourceforge ${PNAME}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix compilation with gcc-4.5 mpatch ${PNAME}-${PVER}-gcc45.patch || die } src_compile() { cd ${SRCDIR} mconfigure --enable-ld-version-script --without-doxygen || die mmake || die }