Please find the attached ebuild file for qcad. From www.qcad.org: "QCad is a free open-source 2D CAD system for Linux, various Unices and Windows. The developers main goals are to build a stable, fast and easy to use CAD for everyone." It seems to work okay on my 1.1a system. I'm not sure that all the ebuild requirements are there and if it uses the best methods, but I thought I'd better contribute something back to you guys and the great source distro. The standard makefile wanted to compile statically but I couldn't get the linker to find the qt library - even though it was there - so I just reset the LFLAGS to stop the static linking. My guess is app-misc, but I could be wrong....
Created attachment 583 [details] qcad-1.4.7-r1.ebuild
Still no attachments.. can you just paste the ebuild? *** This bug has been marked as a duplicate of 1860 ***
# my first ebuild script attempt - for qcad HOMEPAGE="http://www.qcad.org" DESCRIPTION="Qcad is a 2-D CAD drafting package" S=${WORKDIR}/${P} SRC_URI="http://www.qcad.org/archives/qcad-1.4.7-src.tar.gz" DEPEND="virtual/glibc >=x11-base/xfree-4.0.3 >=x11-libs/qt-2.3.2" RDEPEND="${DEPEND}" src_compile() { cd ${WORKDIR}/${P}-src # Doesnt static compile a la Makefile so fudge/fix make LFLAGS=" " } src_install() { cd ${WORKDIR}/${P}-src into /usr/ dobin qcad dodir /usr/share/qcad cp -r cur doc examples fonts hatches libraries messages xpm ${D}/usr/share/qcad }