diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-08-12 17:30:57 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-08-12 17:30:57 +0000 |
commit | d5847bba3dac3fe6fc5296ff9a7068e043e0816a (patch) | |
tree | a393adf1c4be0d1b4af00ad08630182a5e0ddfa1 /dev-tex | |
parent | amd64 stable, bug #234517 (diff) | |
download | gentoo-2-d5847bba3dac3fe6fc5296ff9a7068e043e0816a.tar.gz gentoo-2-d5847bba3dac3fe6fc5296ff9a7068e043e0816a.tar.bz2 gentoo-2-d5847bba3dac3fe6fc5296ff9a7068e043e0816a.zip |
Initial import, ebuild by Dmitry Dzhus <dima@sphinx.net.ru>, bug #233249
(Portage version: 2.2_rc7/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/sketch/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tex/sketch/Manifest | 4 | ||||
-rw-r--r-- | dev-tex/sketch/metadata.xml | 5 | ||||
-rw-r--r-- | dev-tex/sketch/sketch-0.2.90.ebuild | 44 |
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-tex/sketch/ChangeLog b/dev-tex/sketch/ChangeLog new file mode 100644 index 000000000000..abda09e16086 --- /dev/null +++ b/dev-tex/sketch/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-tex/sketch +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/ChangeLog,v 1.1 2008/08/12 17:30:57 aballier Exp $ + +*sketch-0.2.90 (12 Aug 2008) + + 12 Aug 2008; Alexis Ballier <aballier@gentoo.org> +metadata.xml, + +sketch-0.2.90.ebuild: + Initial import, ebuild by Dmitry Dzhus <dima@sphinx.net.ru>, bug #233249 + diff --git a/dev-tex/sketch/Manifest b/dev-tex/sketch/Manifest new file mode 100644 index 000000000000..907c964d7847 --- /dev/null +++ b/dev-tex/sketch/Manifest @@ -0,0 +1,4 @@ +DIST sketch-0.2.90.tgz 2867504 RMD160 eb413cf57929adc59f9c793316c245c22a940e10 SHA1 0de46e1bebab0bfbb623256e2665a849356b1ddd SHA256 f69e0b9c96466a9c1c44f520a5a56af9891c93302c9a7a5dd337ab18371f7e62 +EBUILD sketch-0.2.90.ebuild 1005 RMD160 42d30fc3632f6b0b4771b4dd98760286001c1900 SHA1 8db24549cdebd93d2468a4db5d4738e9c8a7c59d SHA256 6617394b65475b20255229a086dccef2c1a38b104a8994627a930151adf15083 +MISC ChangeLog 313 RMD160 6a2ebb794f5c009015600ff218266d975f9e4109 SHA1 d1e850add81c3dd50afba59fa3f5fc6bea1a8e39 SHA256 f7d3fbe9241be759c012b479393e36e51a4fcffda79ff85491d2200e8bd63065 +MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 diff --git a/dev-tex/sketch/metadata.xml b/dev-tex/sketch/metadata.xml new file mode 100644 index 000000000000..ba6a8a8800d5 --- /dev/null +++ b/dev-tex/sketch/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>tex</herd> +</pkgmetadata> diff --git a/dev-tex/sketch/sketch-0.2.90.ebuild b/dev-tex/sketch/sketch-0.2.90.ebuild new file mode 100644 index 000000000000..ed5555ca02fe --- /dev/null +++ b/dev-tex/sketch/sketch-0.2.90.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/sketch-0.2.90.ebuild,v 1.1 2008/08/12 17:30:57 aballier Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Produces drawings of two- or three-dimensional solid objects and scenes for TeX" +HOMEPAGE="http://www.frontiernet.net/~eugene.ressler/" +SRC_URI="http://www.frontiernet.net/~eugene.ressler/${P}.tgz" +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +DEPEND="dev-lang/perl" +RDEPEND="" + +src_unpack() { + unpack ${A} + + cd "${S}" + sed -i -e "s:\$(CC):\$(CC) \$(LDFLAGS):" makefile +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + dobin sketch || die + edos2unix Doc/sketch.info + doinfo Doc/sketch.info || die + dohtml updates.htm || die + if use doc ; then + insinto /usr/share/doc/${PF} + doins Doc/sketch.pdf || die + dohtml Doc/sketch/* || die + fi + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins Data/* || die "Failed to install examples" + fi +} |