summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-07-09 20:13:13 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-07-09 20:13:13 +0000
commit3b6aae21a0f83b630b31b58b1d05dbad4317e86f (patch)
tree69fb1d019619c317802753adf276698d927422ab /media-libs/jbigkit
parentopenldap-2.1.22 has been added to portage. db depend change, and some (diff)
downloadgentoo-2-3b6aae21a0f83b630b31b58b1d05dbad4317e86f.tar.gz
gentoo-2-3b6aae21a0f83b630b31b58b1d05dbad4317e86f.tar.bz2
gentoo-2-3b6aae21a0f83b630b31b58b1d05dbad4317e86f.zip
use sed -i in src_unpack
Diffstat (limited to 'media-libs/jbigkit')
-rw-r--r--media-libs/jbigkit/ChangeLog5
-rw-r--r--media-libs/jbigkit/Manifest4
-rw-r--r--media-libs/jbigkit/jbigkit-1.4.ebuild21
3 files changed, 19 insertions, 11 deletions
diff --git a/media-libs/jbigkit/ChangeLog b/media-libs/jbigkit/ChangeLog
index e8e57420b5e7..8e1b9359228e 100644
--- a/media-libs/jbigkit/ChangeLog
+++ b/media-libs/jbigkit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/jbigkit
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jbigkit/ChangeLog,v 1.7 2003/03/31 02:24:44 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jbigkit/ChangeLog,v 1.8 2003/07/09 20:13:09 msterret Exp $
+
+ 09 Jul 2003; Michael Sterrett <msterret@gentoo.org> jbigkit-1.4.ebuild:
+ use sed -i in src_unpack
*jbigkit-1.4 (05 Nov 2002)
diff --git a/media-libs/jbigkit/Manifest b/media-libs/jbigkit/Manifest
index 05df49df94a6..0ef4a238a55e 100644
--- a/media-libs/jbigkit/Manifest
+++ b/media-libs/jbigkit/Manifest
@@ -1,3 +1,3 @@
-MD5 5f6ce7052444df63d48344ab71b2c1db ChangeLog 666
-MD5 9aab210e511609053c33329ff9dc35a2 jbigkit-1.4.ebuild 952
+MD5 83a62ee3eca5ff262283d6173a3bf6ca ChangeLog 773
+MD5 cfa48125421d374928dc7327537bdaf5 jbigkit-1.4.ebuild 998
MD5 3b69012688770808e2d9ebaf7d43533e files/digest-jbigkit-1.4 63
diff --git a/media-libs/jbigkit/jbigkit-1.4.ebuild b/media-libs/jbigkit/jbigkit-1.4.ebuild
index 85cd9f26bf12..3ae8018194b5 100644
--- a/media-libs/jbigkit/jbigkit-1.4.ebuild
+++ b/media-libs/jbigkit/jbigkit-1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jbigkit/jbigkit-1.4.ebuild,v 1.8 2003/03/31 02:24:44 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jbigkit/jbigkit-1.4.ebuild,v 1.9 2003/07/09 20:13:09 msterret Exp $
S="${WORKDIR}/${PN}"
DESCRIPTION="JBIG-KIT implements a highly effective data compression algorithm for bi-level high-resolution images such as fax pages or scanned documents"
@@ -11,15 +11,20 @@ LICENSE="GPL-2"
IUSE=""
SLOT="0"
KEYWORDS="x86 ppc ~sparc alpha"
-DEPEND="virtual/glibc"
+DEPEND="virtual/glibc
+ >=sys-apps/sed-4"
-src_compile() {
- cp Makefile Makefile.orig
- sed -e "s:-O2 -W:${CFLAGS}:" \
- < Makefile.orig > Makefile
+src_unpack() {
+ unpack ${A}
+ cd ${S}
- make || die "make failed"
+ sed -i \
+ -e "s:-O2 -W:${CFLAGS}:" Makefile || \
+ die "sed Makefile failed"
+}
+src_compile() {
+ make || die "make failed"
make test || die "tests failed"
}
@@ -30,5 +35,5 @@ src_install() {
newins libjbig/jbig.h jbig.h
# Install documentation.
- dodoc ANNOUNCE CHANGES COPYING INSTALL TODO
+ dodoc ANNOUNCE CHANGES INSTALL TODO
}