summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-11-06 12:39:07 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-11-06 12:39:07 +0000
commitc13da55d1320ab6e91c0364be11ffd1a99df4811 (patch)
tree6f8eb94d626cbf0e3c06ccfbc05478d45d4b2d89 /sci-misc
parentStable for HPPA (bug #245638). (diff)
downloadgentoo-2-c13da55d1320ab6e91c0364be11ffd1a99df4811.tar.gz
gentoo-2-c13da55d1320ab6e91c0364be11ffd1a99df4811.tar.bz2
gentoo-2-c13da55d1320ab6e91c0364be11ffd1a99df4811.zip
Version bump, closing bug #186000
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/qcad-parts/qcad-parts-2.0.1.2.ebuild53
-rw-r--r--sci-misc/qcad-parts/qcad-parts-2.1.2.8.ebuild33
2 files changed, 33 insertions, 53 deletions
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
deleted file mode 100644
index 5ed6d73b23c7..000000000000
--- a/sci-misc/qcad-parts/qcad-parts-2.0.1.2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2005 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.2 2005/08/24 12:03:18 cryos 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:0 .
- 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
-}
diff --git a/sci-misc/qcad-parts/qcad-parts-2.1.2.8.ebuild b/sci-misc/qcad-parts/qcad-parts-2.1.2.8.ebuild
new file mode 100644
index 000000000000..f9f31351f6b9
--- /dev/null
+++ b/sci-misc/qcad-parts/qcad-parts-2.1.2.8.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2008 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.1.2.8.ebuild,v 1.1 2008/11/06 12:39:07 bicatali Exp $
+
+MY_PN="partlibrary"
+MY_PV="${PV}-1"
+
+DESCRIPTION="Collection of CAD files that can be used from the library browser of QCad"
+LICENSE="GPL-2"
+HOMEPAGE="http://www.ribbonsoft.com/qcad_library.html"
+SRC_URI="ftp://ribbonsoft.com/archives/${MY_PN}/${MY_PN}-${MY_PV}.tar.gz"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins -r * || die "Failed installing qcad-parts files"
+}
+
+pkg_postinst() {
+ einfo
+ einfo "The QCad parts library was installed in"
+ einfo "/usr/share/${PN}"
+ 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
+}