Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1862 - qcad-1.4.7.ebuild (New Package)
Summary: qcad-1.4.7.ebuild (New Package)
Status: RESOLVED DUPLICATE of bug 1860
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-16 23:35 UTC by scott.claridge
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
qcad-1.4.7-r1.ebuild (qcad-1.4.7-r1.ebuild.gz,432 bytes, text/plain)
2002-04-16 23:36 UTC, scott.claridge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scott.claridge 2002-04-16 23:35:04 UTC
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....
Comment 1 scott.claridge 2002-04-16 23:36:36 UTC
Created attachment 583 [details]
qcad-1.4.7-r1.ebuild
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-16 23:37:00 UTC
Still no attachments.. can you just paste the ebuild?

*** This bug has been marked as a duplicate of 1860 ***
Comment 3 scott.claridge 2002-04-17 00:07:57 UTC
# 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
}