diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-27 21:26:15 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-27 21:26:15 +0000 |
commit | 03bd47a5fd8267dff337d3b1d004dd908ecf53f3 (patch) | |
tree | b9880bf2c59045b682934272f11491807eb56c7e /sci-misc | |
parent | Moving to sci-misc/qcad-parts (diff) | |
download | gentoo-2-03bd47a5fd8267dff337d3b1d004dd908ecf53f3.tar.gz gentoo-2-03bd47a5fd8267dff337d3b1d004dd908ecf53f3.tar.bz2 gentoo-2-03bd47a5fd8267dff337d3b1d004dd908ecf53f3.zip |
Moved from app-sci/qcad-parts to sci-misc/qcad-parts.
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/qcad-parts/ChangeLog | 31 | ||||
-rw-r--r-- | sci-misc/qcad-parts/Manifest | 4 | ||||
-rw-r--r-- | sci-misc/qcad-parts/files/digest-qcad-parts-2.0.1.2 | 1 | ||||
-rw-r--r-- | sci-misc/qcad-parts/metadata.xml | 5 | ||||
-rw-r--r-- | sci-misc/qcad-parts/qcad-parts-2.0.1.2.ebuild | 53 |
5 files changed, 94 insertions, 0 deletions
diff --git a/sci-misc/qcad-parts/ChangeLog b/sci-misc/qcad-parts/ChangeLog new file mode 100644 index 000000000000..f1dce6294e4a --- /dev/null +++ b/sci-misc/qcad-parts/ChangeLog @@ -0,0 +1,31 @@ +# ChangeLog for app-sci/qcad-parts +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad-parts/ChangeLog,v 1.1 2004/12/27 21:26:15 ribosome Exp $ + +*qcad-parts-2.0.1.2 (27 Dec 2004) + + 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +qcad-parts-2.0.1.2.ebuild: + Moved from app-sci/qcad-parts to sci-misc/qcad-parts. + + 02 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> + qcad-parts-2.0.1.2.ebuild: + Adding unzip to dependencies + + 17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> + qcad-parts-2.0.1.2.ebuild: + keywords amd64. + + 11 May 2004; Patrick Kursawe <phosphan@gentoo.org> + qcad-parts-2.0.1.2.ebuild: + Declaring stable + + 22 Apr 2004; David Holm <dholm@gentoo.org> qcad-parts-2.0.1.2.ebuild: + Added to ~ppc. + +*qcad-parts-2.0.1.2 (22 Apr 2004) + + 22 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> metadata.xml, + qcad-parts-2.0.1.2.ebuild: + Initial import, suggested in bug #41133 + diff --git a/sci-misc/qcad-parts/Manifest b/sci-misc/qcad-parts/Manifest new file mode 100644 index 000000000000..e84ac860b5a1 --- /dev/null +++ b/sci-misc/qcad-parts/Manifest @@ -0,0 +1,4 @@ +MD5 c7980dcce552be893a1a0925e4a6270d qcad-parts-2.0.1.2.ebuild 1463 +MD5 aa73974ba7b44ec48681564e278f7131 ChangeLog 790 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 0c1db012ad805f07e316ba39b5fa0c22 files/digest-qcad-parts-2.0.1.2 72 diff --git a/sci-misc/qcad-parts/files/digest-qcad-parts-2.0.1.2 b/sci-misc/qcad-parts/files/digest-qcad-parts-2.0.1.2 new file mode 100644 index 000000000000..cc04cb15b6bc --- /dev/null +++ b/sci-misc/qcad-parts/files/digest-qcad-parts-2.0.1.2 @@ -0,0 +1 @@ +MD5 cac084e684bc286968beb6065aa96fb8 partlibrary-2.0.1.2-1.zip 12243050 diff --git a/sci-misc/qcad-parts/metadata.xml b/sci-misc/qcad-parts/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-misc/qcad-parts/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> diff --git a/sci-misc/qcad-parts/qcad-parts-2.0.1.2.ebuild b/sci-misc/qcad-parts/qcad-parts-2.0.1.2.ebuild new file mode 100644 index 000000000000..1920e09f3fc0 --- /dev/null +++ b/sci-misc/qcad-parts/qcad-parts-2.0.1.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad-parts/qcad-parts-2.0.1.2.ebuild,v 1.1 2004/12/27 21:26:15 ribosome Exp $ + +MY_PN="partlibrary" +MY_PV="${PV}-1" + +DESCRIPTION="Collection of CAD files that can be used from the library browser of QCad" +HOMEPAGE="http://www.ribbonsoft.com/qcad_library.html" +SRC_URI="http://www.ribbonsoft.com/archives/partlibrary/partlibrary-${MY_PV}.zip" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc amd64" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR}/${MY_PN}-${MY_PV} + +src_unpack() { + einfo "Will unpack when installing" +} + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + mkdir -p ${D}/usr/share/${PF} + cd ${D}/usr/share/${PF} + unpack ${A} + mv partli*/* . + rmdir partlib* + einfo "Adjusting permissions..." + chown -R root:root . + find . -type d -not -perm -005 | while read dir; do + echo "Fixing directory $dir"; chmod ugo+rx $dir; done + find . -type f -not -perm -004 | while read file; do + echo "Fixing file $file"; chmod ugo+r $file; done +} + +pkg_postinst() { + einfo + einfo "The QCad parts library was installed in" + einfo "/usr/share/${PF}" + einfo "Please set this path in QCad's preferences to access it." + einfo "(Edit->Application Preferences->Paths->Part Libraries)" + einfo + einfo "After restarting QCad, you can use the library by selecting" + einfo "View->Views->Library Browser" + einfo +} |