summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Dzhus (dzhus) <dima@sphinx.net.ru>2008-08-10 12:57:46 +0000
committerDmitry Dzhus (dzhus) <dima@sphinx.net.ru>2008-08-10 12:57:46 +0000
commit8cf579ca7a082927e4ac7a447f0f31cb0094a100 (patch)
treeb2dbe87b7bb344de54f64146325dce5464666ed7
parentkde-misc/diskmonitor: updated source download URI in ebuild (diff)
downloadsunrise-8cf579ca7a082927e4ac7a447f0f31cb0094a100.tar.gz
sunrise-8cf579ca7a082927e4ac7a447f0f31cb0094a100.tar.bz2
sunrise-8cf579ca7a082927e4ac7a447f0f31cb0094a100.zip
Respect compiler and LDFLAGS, install examples, do not compress PDF docs. Suggested by A. Ballier, reviewed by Tommy[D].
svn path=/sunrise/; revision=6724
-rw-r--r--dev-tex/sketch/ChangeLog5
-rw-r--r--dev-tex/sketch/Manifest4
-rw-r--r--dev-tex/sketch/sketch-0.2.90-r1.ebuild (renamed from dev-tex/sketch/sketch-0.2.90.ebuild)25
3 files changed, 28 insertions, 6 deletions
diff --git a/dev-tex/sketch/ChangeLog b/dev-tex/sketch/ChangeLog
index 3fb6bb65d..5238bef50 100644
--- a/dev-tex/sketch/ChangeLog
+++ b/dev-tex/sketch/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 10 Aug 2008; Dmitry Dzhus (dzhus) <dima@sphinx.net.ru>
+ -sketch-0.2.90.ebuild, +sketch-0.2.90-r1.ebuild:
+ Respect compiler and LDFLAGS, install examples, do not compress PDF docs.
+ Suggested by A. Ballier, reviewed by Tommy[D].
+
01 Aug 2008; Dmitry Dzhus (dzhus) <dima@sphinx.net.ru>
+sketch-0.2.90.ebuild, +metadata.xml:
New ebuild from bug 233249
diff --git a/dev-tex/sketch/Manifest b/dev-tex/sketch/Manifest
index 111c018a4..38b31f6d9 100644
--- a/dev-tex/sketch/Manifest
+++ b/dev-tex/sketch/Manifest
@@ -1,4 +1,4 @@
DIST sketch-0.2.90.tgz 2867504 RMD160 eb413cf57929adc59f9c793316c245c22a940e10 SHA1 0de46e1bebab0bfbb623256e2665a849356b1ddd SHA256 f69e0b9c96466a9c1c44f520a5a56af9891c93302c9a7a5dd337ab18371f7e62
-EBUILD sketch-0.2.90.ebuild 615 RMD160 adb2a85ef519bf45b467964f43aec3ed8019ce65 SHA1 cdcd7c973e7b6674fd774b6cfda33ef4c34b1f4c SHA256 dc7de920699fcc97e86f2aba5f78ae48a3aeea907318c9d9add28a2ba9d331cd
-MISC ChangeLog 242 RMD160 f402893d2c35a37c8fc9feff80513cad33c43800 SHA1 b508aacd7bf3b9394585a97f553b1a6df626c7ba SHA256 28da30412ab2cbf18d031edeef377dc2a55cb4dfc5239481bbc3fd472a8e9d0c
+EBUILD sketch-0.2.90-r1.ebuild 998 RMD160 691a78b4e9451acc78b1e574d93e7816c7450ad5 SHA1 704d95b09e93e6082dfff88c6365ff1b22099492 SHA256 dbc4ef3a460ac17453f164a759ca9d1d4222f9201f7cbf3cf92f5d61796441c5
+MISC ChangeLog 476 RMD160 7a42ca2bebb9cf22aa698ac60e8ea5fc63bac78c SHA1 38559028e0c092432a30d0c73bffb5865acfe4b2 SHA256 c0dec856cd92764ce61ec315cf80a460dee90609eab7d5a723e209ce3bd1e5bd
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-tex/sketch/sketch-0.2.90.ebuild b/dev-tex/sketch/sketch-0.2.90-r1.ebuild
index 1797d441c..f84fa2e35 100644
--- a/dev-tex/sketch/sketch-0.2.90.ebuild
+++ b/dev-tex/sketch/sketch-0.2.90-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils
+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/"
@@ -11,17 +11,34 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
-IUSE="doc"
+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
- dodoc Doc/sketch.pdf || die
+ insinto /usr/share/doc/${PF}
+ doins Doc/sketch.pdf || die
dohtml Doc/sketch/* || die
fi
-} \ No newline at end of file
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins Data/* || die "Failed to install examples"
+ fi
+}