# $Header: /magellan-cvs/smage/gtkdps/gtkdps-0.3.4-r8.smage2,v 1.1 2008/08/15 12:52:25 niro Exp $ PNAME="gtkdps" PVER="0.3.4" PBUILD="r8" PCATEGORIE="x11-libs" STATE="unstable" DESCRIPTION="gtkDPS is the set of functions, objects, and widgets to use DPS easily with GTK." HOMEPAGE="http://www.gyve.org/gtkDPS/" DEPEND=">= x11-libs/gtk1+-1.2.10 >= app-text/dgs-0.5" SDEPEND=">= sys-dev/gettext-0.17" SRCFILE="${PNAME/dps/DPS}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME/dps/DPS}-${PVER}" sminclude gnuconfig SRC_URI=( ftp://ftp.gyve.org/pub/gtkDPS/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixes m4 warnings mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die # fix CHOST for x86_64 and others gnuconfig-update || die } src_compile() { cd ${SRCDIR} mconfigure --with-x --with-dps || die # fix locales location echo '#define LOCALEDIR "/usr/share/locale"' >> config.h || die # doesn't like optimations >= -j1 mmake -j1 || die } src_install() { cd ${SRCDIR} make prefix=${BINDIR}/usr install || die minstalldocs ABOUT-NLS COPYING* ChangeLog GTKDPS-VERSION \ HACKING NEWS README TODO || die }