# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.7 2002/05/18 17:25:12 agenkin Exp # The 'Header' on the third line should just be left alone. When your ebuild # will be commited to cvs, the details on that line will be automatically # generated to contain the correct data. DESCRIPTION="An EASY GUI FTP Client (QT based)" HOMEPAGE="http://freshmeat.net/projects/easyftp/" LICENSE="as-is" DEPEND="=x11-libs/qt-3*" # Point to any required sources; these will be automatically downloaded by # Portage. SRC_URI="http://backen.dyndns.org/files/easyFTPb6.tar" # Source directory; the dir where the sources can be found (automatically # unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P} # if you omit this line. S=${WORKDIR} src_compile() { emake || die } src_install () { grep -v "install:" ${S}/Makefile > ${S}/Makefile.new mv ${S}/Makefile.new ${S}/Makefile echo "install: all" >> ${S}/Makefile echo " echo ${DESTDIR}" >> ${S}/Makefile echo " mkdir ${DESTDIR}/usr/" >> ${S}/Makefile echo " mkdir ${DESTDIR}/usr/bin/" >> ${S}/Makefile echo " cp ./easyFTP.pro ${DESTDIR}/usr/bin/" >> ${S}/Makefile echo " chmod 644 ${DESTDIR}/usr/bin/easyFTP.pro" >> ${S}/Makefile emake install dodoc README }