summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-05 19:21:14 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-05 19:21:14 +0000
commit2a88b78ab2feaf6261a76de2247f364c85bc6d12 (patch)
treed4c8d551b2ea6896e746e0c970c8c2e7bb4fe7db /app-arch/unarj
parentMarked as stable (diff)
downloadgentoo-2-2a88b78ab2feaf6261a76de2247f364c85bc6d12.tar.gz
gentoo-2-2a88b78ab2feaf6261a76de2247f364c85bc6d12.tar.bz2
gentoo-2-2a88b78ab2feaf6261a76de2247f364c85bc6d12.zip
custom CFLAGS
Diffstat (limited to 'app-arch/unarj')
-rw-r--r--app-arch/unarj/files/digest-unarj-2.63a1
-rw-r--r--app-arch/unarj/unarj-2.63a-r1.ebuild13
-rw-r--r--app-arch/unarj/unarj-2.63a.ebuild23
3 files changed, 8 insertions, 29 deletions
diff --git a/app-arch/unarj/files/digest-unarj-2.63a b/app-arch/unarj/files/digest-unarj-2.63a
deleted file mode 100644
index ea9a48b49669..000000000000
--- a/app-arch/unarj/files/digest-unarj-2.63a
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a83d139c245f911f22cb1b611ec9768f unarj-2.63a.tar.gz 24979
diff --git a/app-arch/unarj/unarj-2.63a-r1.ebuild b/app-arch/unarj/unarj-2.63a-r1.ebuild
index 07520984e019..407b4f9ca5e3 100644
--- a/app-arch/unarj/unarj-2.63a-r1.ebuild
+++ b/app-arch/unarj/unarj-2.63a-r1.ebuild
@@ -1,16 +1,19 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unarj/unarj-2.63a-r1.ebuild,v 1.6 2003/11/26 10:55:52 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unarj/unarj-2.63a-r1.ebuild,v 1.7 2003/12/05 19:21:14 vapier Exp $
-DESCRIPTION="Utility for opening arj archives."
+DESCRIPTION="Utility for opening arj archives"
HOMEPAGE="http://ibiblio.org/pub/Linux/utils/compress/"
SRC_URI="http://ibiblio.org/pub/Linux/utils/compress/${P}.tar.gz"
-SLOT="0"
LICENSE="arj"
-KEYWORDS="x86 ppc sparc alpha ~amd64"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha amd64"
-DEPEND=">=sys-apps/baselayout-1.8.0"
+src_unpack() {
+ unpack ${A}
+ sed -i "/^CFLAGS/s:-O2:${CFLAGS}:" ${S}/Makefile
+}
src_compile() {
emake || die
diff --git a/app-arch/unarj/unarj-2.63a.ebuild b/app-arch/unarj/unarj-2.63a.ebuild
deleted file mode 100644
index b0e38d6baeed..000000000000
--- a/app-arch/unarj/unarj-2.63a.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unarj/unarj-2.63a.ebuild,v 1.8 2003/02/13 05:57:03 vapier Exp $
-
-DESCRIPTION="Utility for opening arj archives."
-HOMEPAGE="http://ibiblio.org/pub/Linux/utils/compress/"
-SRC_URI="http://ibiblio.org/pub/Linux/utils/compress/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="arj"
-KEYWORDS="x86 ppc sparc "
-
-DEPEND=">=sys-apps/baselayout-1.8.0"
-
-src_compile() {
- emake || die
-}
-
-src_install() {
- insinto /opt/bin
- doins unarj
- dodoc unarj.txt technote.txt readme.txt
-}