summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-04-14 11:12:40 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-04-14 11:12:40 +0000
commit21ca1112f5331bd666d92953787dc2ce0adbec71 (patch)
treead76403698a2c503be8c17f058ec620bd00bbe1a /app-arch/mscompress
parentsymlink patch cleanup for bug 45448 (Manifest recommit) (diff)
downloadgentoo-2-21ca1112f5331bd666d92953787dc2ce0adbec71.tar.gz
gentoo-2-21ca1112f5331bd666d92953787dc2ce0adbec71.tar.bz2
gentoo-2-21ca1112f5331bd666d92953787dc2ce0adbec71.zip
Initial import.
Diffstat (limited to 'app-arch/mscompress')
-rw-r--r--app-arch/mscompress/ChangeLog9
-rw-r--r--app-arch/mscompress/files/mscompress-0.3-makefile.patch12
-rw-r--r--app-arch/mscompress/mscompress-0.3.ebuild12
3 files changed, 29 insertions, 4 deletions
diff --git a/app-arch/mscompress/ChangeLog b/app-arch/mscompress/ChangeLog
new file mode 100644
index 000000000000..6a2cdd7cba1b
--- /dev/null
+++ b/app-arch/mscompress/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-arch/mscompress
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/ChangeLog,v 1.1 2004/04/14 11:12:40 aliz Exp $
+
+*mscompress-0.3 (14 Apr 2004)
+
+ 14 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> mscompress-0.3.ebuild:
+ Initial import. Ebuild contributed by Cory Visi <cory@visi.name> in #35287.
+
diff --git a/app-arch/mscompress/files/mscompress-0.3-makefile.patch b/app-arch/mscompress/files/mscompress-0.3-makefile.patch
new file mode 100644
index 000000000000..ddc9e68c176a
--- /dev/null
+++ b/app-arch/mscompress/files/mscompress-0.3-makefile.patch
@@ -0,0 +1,12 @@
+--- /tmp/Makefile.in 2004-04-14 07:48:23.088418656 +0000
++++ Makefile.in 2004-04-14 07:48:38.233116312 +0000
+@@ -37,7 +37,7 @@
+ bzip2 -9f $(OUTDIR)/mscompress-$(VERS)-$(OSTYPE).tar
+
+ mscompress: mscompress.o version.o
+- $(CC) -o mscompress mscompress.o version.o
++ $(CC) $(CFLAGS) -o mscompress mscompress.o version.o
+
+ msexpand: msexpand.o version.o
+- $(CC) -o msexpand msexpand.o version.o
++ $(CC) $(CFLAGS) -o msexpand msexpand.o version.o
diff --git a/app-arch/mscompress/mscompress-0.3.ebuild b/app-arch/mscompress/mscompress-0.3.ebuild
index 685150f02a68..755e09299b30 100644
--- a/app-arch/mscompress/mscompress-0.3.ebuild
+++ b/app-arch/mscompress/mscompress-0.3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/mscompress-0.3.ebuild,v 1.1 2004/04/14 07:46:15 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/mscompress/mscompress-0.3.ebuild,v 1.2 2004/04/14 11:12:40 aliz Exp $
+
+inherit gnuconfig eutils
DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor"
SRC_URI="http://www.penguin.cz/~mhi/ftp/mscompress/${P}.tar.bz2"
@@ -18,17 +20,19 @@ RDEPEND="${DEPEND}
src_unpack() {
unpack ${A} ; cd ${S}
- sed -i.orig -e "s/\$(CC)/\$(CC) \$(CFLAGS)/g" Makefile.in
+ epatch ${FILESDIR}/${P}-makefile.patch
}
src_compile() {
+ gnuconfig_update
+
econf || die
emake || die
}
src_install() {
- make BUILDROOT=${D} install
-
+ dobin mscompress msexpand
+ doman mscompress.1 msexpand.1
dodoc README ChangeLog
# taken from magic.add, modified for gentoo