Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 122849 | Differences between
and this patch

Collapse All | Expand All

(-)zip-2.31.ebuild (-8 / +13 lines)
Lines 2-24 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-2.31.ebuild,v 1.2 2005/07/23 23:11:35 kito Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-2.31.ebuild,v 1.2 2005/07/23 23:11:35 kito Exp $
4
4
5
inherit toolchain-funcs eutils
5
inherit toolchain-funcs eutils flag-o-matic
6
6
7
DESCRIPTION="Info ZIP (encryption support)"
7
DESCRIPTION="Info ZIP (encryption support)"
8
HOMEPAGE="ftp://ftp.freesoftware.com/pub/infozip/Zip.html"
8
HOMEPAGE="ftp://ftp.freesoftware.com/pub/infozip/Zip.html"
9
SRC_URI="ftp://ftp.info-zip.org/pub/infozip/src/zip${PV//.}.tar.gz
9
SRC_URI="ftp://ftp.info-zip.org/pub/infozip/src/zip${PV//.}.tar.gz"
10
	crypt? ( ftp://ftp.icce.rug.nl/infozip/src/zcrypt29.zip )"
11
10
12
LICENSE="Info-ZIP"
11
LICENSE="Info-ZIP"
13
SLOT="0"
12
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
15
IUSE="crypt"
14
IUSE="crypt"
16
15
17
DEPEND="crypt? ( app-arch/unzip )"
18
19
src_unpack() {
16
src_unpack() {
20
	unpack ${A}
17
	unpack ${A}
21
	use crypt && mv -f crypt.[ch] "${S}"
18
	use crypt || append-flags -DNO_CRYPT
22
	cd "${S}"
19
	cd "${S}"
23
	epatch "${FILESDIR}"/zip-2.3-unix_configure-pic.patch
20
	epatch "${FILESDIR}"/zip-2.3-unix_configure-pic.patch
24
	cd unix
21
	cd unix
Lines 34-40 Link Here
34
}
31
}
35
32
36
src_install() {
33
src_install() {
37
	dobin zip zipcloak zipnote zipsplit || die
34
	dobin zip zipnote zipsplit || die
38
	doman man/zip.1
35
	doman man/zip.1
39
	dodoc BUGS CHANGES MANUAL README TODO WHATSNEW WHERE
36
	dosym zip.1 /usr/share/man/man1/zipnote.1
37
	dosym zip.1 /usr/share/man/man1/zipsplit.1
38
	dodoc BUGS CHANGES README TODO WHATSNEW WHERE proginfo/algorith.txt
39
40
	if use crypt; then
41
		dobin zipcloak || die
42
		dosym zip.1 /usr/share/man/man1/zipcloak.1
43
		dodoc README.CR
44
	fi
40
}
45
}

Return to bug 122849