blob: 8064a5d16f7a469e2c619767c284177973431a53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.41-r1.ebuild,v 1.1 2000/08/07 10:51:35 achim Exp $
P=unzip-5.41
A=unzip541.tar.gz
S=${WORKDIR}/${P}
CATEGORY="app-arch"
DESCRIPTION="Unzipper for pkzip-compressed files"
SRC_URI="ftp://ftp.freesoftware.com/pub/infozip/src/${A}"
HOMEPAGE="ftp://ftp.info-zip.org/pub/infozip/UnZip.html"
src_unpack() {
unpack ${A}
}
src_compile() {
cd ${S}
cp unix/Makefile unix/Makefile.orig
sed -e "s:-O3:${CFLAGS}:" unix/Makefile.orig > unix/Makefile
make -f unix/Makefile linux
}
src_install() {
cd ${S}
into /usr
dobin unzip funzip unzipsfx unix/zipgrep
dodoc BUGS COPYING History* LICENSE README ToDo WHERE
}
|