diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-04-22 08:08:15 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-04-22 08:08:15 +0000 |
commit | 740acef13d977625780f4d6a7438b431abbaeb42 (patch) | |
tree | 799582bf0f7bca0e1b322ecdb66d23582f2d84ba /app-sci | |
parent | New release (diff) | |
download | historical-740acef13d977625780f4d6a7438b431abbaeb42.tar.gz historical-740acef13d977625780f4d6a7438b431abbaeb42.tar.bz2 historical-740acef13d977625780f4d6a7438b431abbaeb42.zip |
Initial import, suggested in bug #41133
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/qcad-parts/ChangeLog | 10 | ||||
-rw-r--r-- | app-sci/qcad-parts/Manifest | 4 | ||||
-rw-r--r-- | app-sci/qcad-parts/files/digest-qcad-parts-2.0.1.2 | 1 | ||||
-rw-r--r-- | app-sci/qcad-parts/metadata.xml | 5 | ||||
-rw-r--r-- | app-sci/qcad-parts/qcad-parts-2.0.1.2.ebuild | 52 |
5 files changed, 72 insertions, 0 deletions
diff --git a/app-sci/qcad-parts/ChangeLog b/app-sci/qcad-parts/ChangeLog new file mode 100644 index 000000000000..a500255f2a3b --- /dev/null +++ b/app-sci/qcad-parts/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-sci/qcad-parts +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/qcad-parts/ChangeLog,v 1.1 2004/04/22 08:08:15 phosphan Exp $ + +*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/app-sci/qcad-parts/Manifest b/app-sci/qcad-parts/Manifest new file mode 100644 index 000000000000..eec46b2927d0 --- /dev/null +++ b/app-sci/qcad-parts/Manifest @@ -0,0 +1,4 @@ +MD5 48d485f9532c8a47fda62c49d5211f66 qcad-parts-2.0.1.2.ebuild 1438 +MD5 ca7542d896100b77f20ec085112cf69a ChangeLog 394 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 0c1db012ad805f07e316ba39b5fa0c22 files/digest-qcad-parts-2.0.1.2 72 diff --git a/app-sci/qcad-parts/files/digest-qcad-parts-2.0.1.2 b/app-sci/qcad-parts/files/digest-qcad-parts-2.0.1.2 new file mode 100644 index 000000000000..cc04cb15b6bc --- /dev/null +++ b/app-sci/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/app-sci/qcad-parts/metadata.xml b/app-sci/qcad-parts/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/app-sci/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/app-sci/qcad-parts/qcad-parts-2.0.1.2.ebuild b/app-sci/qcad-parts/qcad-parts-2.0.1.2.ebuild new file mode 100644 index 000000000000..e58f0d8d924b --- /dev/null +++ b/app-sci/qcad-parts/qcad-parts-2.0.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/qcad-parts/qcad-parts-2.0.1.2.ebuild,v 1.1 2004/04/22 08:08:15 phosphan 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" +IUSE="" + +DEPEND="" + +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 +} |