diff options
Diffstat (limited to 'app-arch/mscompress')
-rw-r--r-- | app-arch/mscompress/Manifest | 2 | ||||
-rw-r--r-- | app-arch/mscompress/files/digest-mscompress-0.3 | 1 | ||||
-rw-r--r-- | app-arch/mscompress/mscompress-0.3.ebuild | 39 |
3 files changed, 42 insertions, 0 deletions
diff --git a/app-arch/mscompress/Manifest b/app-arch/mscompress/Manifest new file mode 100644 index 000000000000..602c9d9773b7 --- /dev/null +++ b/app-arch/mscompress/Manifest @@ -0,0 +1,2 @@ +MD5 937a332243fdf3e9560c072c9f0ad32e mscompress-0.3.ebuild 910 +MD5 7f7ab8642551c8a36435e1ad28ff8f53 files/digest-mscompress-0.3 66 diff --git a/app-arch/mscompress/files/digest-mscompress-0.3 b/app-arch/mscompress/files/digest-mscompress-0.3 new file mode 100644 index 000000000000..3766ea746850 --- /dev/null +++ b/app-arch/mscompress/files/digest-mscompress-0.3 @@ -0,0 +1 @@ +MD5 e85fe2fb0df95a7a921ecd867933ff89 mscompress-0.3.tar.bz2 40989 diff --git a/app-arch/mscompress/mscompress-0.3.ebuild b/app-arch/mscompress/mscompress-0.3.ebuild new file mode 100644 index 000000000000..685150f02a68 --- /dev/null +++ b/app-arch/mscompress/mscompress-0.3.ebuild @@ -0,0 +1,39 @@ +# 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 $ + +DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor" +SRC_URI="http://www.penguin.cz/~mhi/ftp/mscompress/${P}.tar.bz2" +HOMEPAGE="http://www.penguin.cz/~mhi/ftp/mscompress/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="virtual/glibc" +RDEPEND="${DEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} ; cd ${S} + + sed -i.orig -e "s/\$(CC)/\$(CC) \$(CFLAGS)/g" Makefile.in +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + make BUILDROOT=${D} install + + dodoc README ChangeLog + + # taken from magic.add, modified for gentoo + if [ -z "`grep END_OF_MSCOMPRESS ${ROOT}/usr/share/misc/file/magic`" ] ; then + dodir /usr/share/misc/file + cat ${ROOT}/usr/share/misc/file/magic magic.mscompress > ${D}/usr/share/misc/file/magic + fi +} |