From 5d4e4cc6e4d338beb0ce5d526addf50fd491a816 Mon Sep 17 00:00:00 2001 From: Patrick Kursawe Date: Wed, 24 Sep 2003 10:42:55 +0000 Subject: New version 2, fixing bug 29376 --- app-sci/qcad/ChangeLog | 7 +++++- app-sci/qcad/Manifest | 4 ++-- app-sci/qcad/files/digest-qcad-2.0.0.1 | 1 + app-sci/qcad/qcad-2.0.0.1.ebuild | 40 ++++++++++++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 app-sci/qcad/files/digest-qcad-2.0.0.1 create mode 100644 app-sci/qcad/qcad-2.0.0.1.ebuild (limited to 'app-sci') diff --git a/app-sci/qcad/ChangeLog b/app-sci/qcad/ChangeLog index 4fd08d49f67e..b52d3dfb9482 100644 --- a/app-sci/qcad/ChangeLog +++ b/app-sci/qcad/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-sci/qcad # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/qcad/ChangeLog,v 1.7 2003/05/28 17:38:23 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/qcad/ChangeLog,v 1.8 2003/09/24 10:42:51 phosphan Exp $ + +*qcad-2.0.0.1 (24 Sep 2003) + + 24 Sep 2003; Patrick Kursawe qcad-2.0.0.1.ebuild: + New ebuild for version 2. Suggestion from bug 29376. *qcad-1.5.4 (22 Nov 2002) diff --git a/app-sci/qcad/Manifest b/app-sci/qcad/Manifest index ff113a77379e..270df57269a5 100644 --- a/app-sci/qcad/Manifest +++ b/app-sci/qcad/Manifest @@ -1,6 +1,6 @@ -MD5 9174de56b90bcae1dbc1885f89c4d85d qcad-2.0.0.1.ebuild 718 +MD5 455005252a4e88b056c339eca4cebf97 qcad-2.0.0.1.ebuild 898 MD5 bf3847f2e7959afa3128e1695453c6b0 qcad-1.5.4.ebuild 1043 -MD5 2c601393e3e28a33dceafb9f3ccd62bf ChangeLog 1200 +MD5 579a28464c508618bd0c811655130aee ChangeLog 1362 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 1a2663c1af2274b28422a9a3c04a7bac files/digest-qcad-1.5.4 67 MD5 60a5ca4d64db440e1b071abd424ccfdf files/digest-qcad-2.0.0.1 71 diff --git a/app-sci/qcad/files/digest-qcad-2.0.0.1 b/app-sci/qcad/files/digest-qcad-2.0.0.1 new file mode 100644 index 000000000000..b27ce459412e --- /dev/null +++ b/app-sci/qcad/files/digest-qcad-2.0.0.1 @@ -0,0 +1 @@ +MD5 a2f62fb7865aa35445d9cbfc3414096f qcad-2.0.0.1-1.src.tar.gz 2316081 diff --git a/app-sci/qcad/qcad-2.0.0.1.ebuild b/app-sci/qcad/qcad-2.0.0.1.ebuild new file mode 100644 index 000000000000..ef48c0aafcc3 --- /dev/null +++ b/app-sci/qcad/qcad-2.0.0.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $ $ +inherit kde-functions + +MY_P=${P}-1.src +S=${WORKDIR}/${MY_P} +DESCRIPTION="A 2D CAD package based upon Qt." +SRC_URI="http://www.ribbonsoft.com/archives/qcad/${MY_P}.tar.gz" +HOMEPAGE="http://www.ribbonsoft.com/qcad.html" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +need-qt 3 + +DEPEND="${DEPEND} + >=sys-apps/sed-4" + +src_compile() { + cd ${S}/scripts + sed -i -e 's/^make/make ${MAKEOPTS}/' build_qcad.sh + sed -i -e 's/^\.\/configure/.\/configure --host=${CHOST}/' build_qcad.sh + sh build_qcad.sh || die "build failed" +} + +src_install () { + cd qcad + mv qcad qcad.bin + dobin qcad.bin + echo -e "#!/bin/sh\ncd /usr/share/${P}\nqcad.bin" > qcad + chmod ugo+rx qcad + dobin qcad + dodir /usr/share/${P} + cp -a patterns examples fonts scripts qm ${D}/usr/share/${P} + cd .. + dodoc README +} + -- cgit v1.2.3-65-gdbad