diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-15 09:57:04 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-15 09:57:04 +0000 |
commit | 11fdc8a082bed0d9e67f5c6a5ac68970f564f17e (patch) | |
tree | e38039c647db27bb43cd38c4baa49685d7bfe9bc /net-print/poster | |
parent | Marked stable on mips. (Manifest recommit) (diff) | |
download | gentoo-2-11fdc8a082bed0d9e67f5c6a5ac68970f564f17e.tar.gz gentoo-2-11fdc8a082bed0d9e67f5c6a5ac68970f564f17e.tar.bz2 gentoo-2-11fdc8a082bed0d9e67f5c6a5ac68970f564f17e.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/ChangeLog | 5 | ||||
-rw-r--r-- | net-print/poster/poster-0.1.ebuild | 21 |
2 files changed, 17 insertions, 9 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/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" } |