# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/moto4lin/moto4lin-9999.ebuild,v 1.6 2007/09/07 20:07:51 jokey Exp $ # moto4lin-9999 -> SVN inherit toolchain-funcs subversion DESCRIPTION="Moto4lin is file manager and seem editor for Motorola P2K phones" HOMEPAGE="http://moto4lin.sourceforge.net/" SRC_URI="" ESVN_REPO_URI="https://moto4lin.svn.sourceforge.net/svnroot/moto4lin/trunk" S=${WORKDIR}/trunk LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-libs/libusb sys-libs/zlib =x11-libs/qt-3*" src_unpack() { eerror "This is the latest svn version:" eerror "That means there are NO promises it will work" eerror "or the dependecies are not up to date and cannot be solved correctly" subversion_src_unpack S=${S}/moto4lin/ } src_compile() { # cd "${S}/moto4lin/" # We need this addwrite since the uic program tries to create # locks in there :/ addwrite "/usr/qt/3/etc/settings" ${QTDIR}/bin/qmake QMAKE=${QTDIR}/bin/qmake emake \ CC="$(tc-getCC) ${CFLAGS}" \ CXX="$(tc-getCXX) ${CXXFLAGS}" \ LINK="$(tc-getCXX)" \ LFLAGS="${LDFLAGS}" || die "emake failed" } src_install() { # cd "${S}/moto4lin/" emake INSTALL_ROOT="${D}" install || die "make install failed" dodoc Changelog README }