summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-15 09:57:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-15 09:57:04 +0000
commita7e6d373018238694996c90a040ce7baf57df468 (patch)
tree18931d635c666e3703dd031f379c41be1fa4109a /net-print/poster
parentMarked stable on mips. (diff)
downloadhistorical-a7e6d373018238694996c90a040ce7baf57df468.tar.gz
historical-a7e6d373018238694996c90a040ce7baf57df468.tar.bz2
historical-a7e6d373018238694996c90a040ce7baf57df468.zip
don't assign to P (bug #44712); don't unpack things in src_compile; error check
Diffstat (limited to 'net-print/poster')
-rw-r--r--net-print/poster/ChangeLog5
-rw-r--r--net-print/poster/Manifest4
-rw-r--r--net-print/poster/poster-0.1.ebuild21
3 files changed, 19 insertions, 11 deletions
diff --git a/net-print/poster/ChangeLog b/net-print/poster/ChangeLog
index 483feafd4cc9..84ab868247a0 100644
--- a/net-print/poster/ChangeLog
+++ b/net-print/poster/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-print/poster
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/poster/ChangeLog,v 1.2 2004/03/02 13:49:49 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/poster/ChangeLog,v 1.3 2004/03/15 09:57:04 mr_bones_ Exp $
+
+ 15 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> poster-0.1.ebuild:
+ don't assign to P (bug #44712); don't unpack things in src_compile; error check
02 Mar 2004; Heinrich Wendel <lanius@gentoo.org> poster-0.1.ebuild:
stable on x86
diff --git a/net-print/poster/Manifest b/net-print/poster/Manifest
index 2acbbcb679a6..e81139f88309 100644
--- a/net-print/poster/Manifest
+++ b/net-print/poster/Manifest
@@ -1,4 +1,4 @@
-MD5 377051d8c004acb32f0536c6cbe3eeab poster-0.1.ebuild 646
-MD5 298e06b9655a2fde894ad3e2acdb8ae9 ChangeLog 467
+MD5 620392a39c664466458f08b818db97b8 ChangeLog 627
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
+MD5 9451d205388856c7e5741eec66af1394 poster-0.1.ebuild 807
MD5 db5313dd3f594b97b8fe75c0003fea97 files/digest-poster-0.1 54
diff --git a/net-print/poster/poster-0.1.ebuild b/net-print/poster/poster-0.1.ebuild
index a74e65b71606..45e88deeeb1d 100644
--- a/net-print/poster/poster-0.1.ebuild
+++ b/net-print/poster/poster-0.1.ebuild
@@ -1,7 +1,10 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/poster/poster-0.1.ebuild,v 1.2 2004/03/02 13:49:49 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/poster/poster-0.1.ebuild,v 1.3 2004/03/15 09:57:04 mr_bones_ Exp $
+inherit gcc
+
+S="${WORKDIR}/${PN}"
DESCRIPTION="small utility for making a poster from an EPS file or a one-page PS document"
SRC_URI="http://www.geocities.com/SiliconValley/5682/poster.tgz"
HOMEPAGE="http://www.geocities.com/SiliconValley/5682/poster.html"
@@ -9,17 +12,19 @@ HOMEPAGE="http://www.geocities.com/SiliconValley/5682/poster.html"
LICENSE="poster"
KEYWORDS="x86 ~amd64"
SLOT="0"
+IUSE=""
-append-flags -lm
-
-P=${PN}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ tar -zxf ./poster.tar.gz || die "tar failed"
+}
src_compile(){
- tar xzf ${PN}.tar.gz
- gcc ${CFLAGS} -o poster poster.c
+ `gcc-getCC` ${CFLAGS} poster.c -lm -o ${PN} || die "compile failed"
}
src_install() {
- dobin ${PN}
- doman ${PN}.1
+ dobin ${PN} || die "dobin failed"
+ doman ${PN}.1 || die "dodoc failed"
}