Magellan Linux

Annotation of /trunk/extras/zip/zip-2.32-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 898 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/zip/zip-2.32-r2.smage2,v 1.1 2008/02/14 12:47:24 niro Exp $
2    
3     PNAME="zip"
4     PVER="2.32"
5     PBUILD="r2"
6    
7     PCATEGORIE="app-arch"
8     STATE="unstable"
9    
10     DESCRIPTION="ZIP with encryption support."
11     HOMEPAGE="http://www.info-zip.org/"
12    
13     DEPEND=">= app-arch/unzip-5"
14     SDEPEND=">= sys-apps/sed-4"
15    
16     SRCFILE="${PNAME}${PVER/./}.tgz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     sminclude mtools
20    
21     SRC_URI=(
22     ftp://ftp.info-zip.org/pub/infozip/src/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29     cd ${SRCDIR}/unix
30    
31     # force use of our CFLAGS
32     sed -i "s:-O2:${CFLAGS}:" Makefile || die
33     }
34    
35     src_compile()
36     {
37     cd ${SRCDIR}
38     mmake -f unix/Makefile CC="gcc" CPP="gcc -E" generic || die
39     }
40    
41     src_install()
42     {
43     cd ${SRCDIR}
44    
45     minstallexec zip || die
46     minstallexec zipcloak || die
47     minstallexec zipnote || die
48     minstallexec zipsplit || die
49     minstallman man/zip.1 || die
50     }

Properties

Name Value
svn:keywords Id