/[gentoo-x86]/app-arch/zip/zip-2.32-r1.ebuild
Gentoo

Contents of /app-arch/zip/zip-2.32-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Mar 17 16:06:43 2008 UTC (12 years, 4 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
Stable for HPPA (bug #213585).
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-2.32-r1.ebuild,v 1.7 2008/03/16 17:29:26 nixnut Exp $
4
5 inherit toolchain-funcs eutils flag-o-matic
6
7 DESCRIPTION="Info ZIP (encryption support)"
8 HOMEPAGE="http://www.info-zip.org/"
9 SRC_URI="ftp://ftp.info-zip.org/pub/infozip/src/zip${PV//.}.tar.gz"
10
11 LICENSE="Info-ZIP"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
14 IUSE="crypt"
15
16 DEPEND=""
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21 epatch "${FILESDIR}"/zip-2.3-unix_configure-pic.patch
22 epatch "${FILESDIR}"/${PN}-2.31-exec-stack.patch
23 epatch "${FILESDIR}"/${PN}-2.32-build.patch
24 }
25
26 src_compile() {
27 tc-export CC CPP
28 use crypt || append-flags -DNO_CRYPT
29 append-lfs-flags
30 emake -f unix/Makefile generic || die
31 }
32
33 src_install() {
34 dobin zip zipnote zipsplit || die
35 doman man/zip.1
36 dosym zip.1 /usr/share/man/man1/zipnote.1
37 dosym zip.1 /usr/share/man/man1/zipsplit.1
38 if use crypt ; then
39 dobin zipcloak || die
40 dosym zip.1 /usr/share/man/man1/zipcloak.1
41 fi
42 dodoc BUGS CHANGES MANUAL README TODO WHATSNEW WHERE proginfo/*.txt
43 }

  ViewVC Help
Powered by ViewVC 1.1.20