Magellan Linux

Annotation of /branches/magellan-0_10_0/extras/zip/zip-3.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1667 - (hide annotations) (download)
Wed May 13 11:15:55 2009 UTC (15 years ago) by niro
Original Path: trunk/extras/zip/zip-3.0-r1.smage2
File size: 905 byte(s)
auto added: ver bump to 3.0-r1
1 niro 1666 # $Id$
2    
3     PNAME="zip"
4     PVER="3.0"
5     PBUILD="r1"
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 niro 1667 SRCDIR="${BUILDDIR}/${PNAME}${PVER/./}"
18 niro 1666
19     sminclude mtools
20    
21     SRC_URI=(
22     ftp://ftp.info-zip.org/pub/infozip/src/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     UP2DATE="updatecmd ${HOMEPAGE}/Zip.html | grep Zip | sed -n 's/.*p \(.*\) \[.*/\1/;1 p'"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}/unix
32    
33     # force use of our CFLAGS
34     sed -i "s:-O2:${CFLAGS}:" Makefile || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40     mmake -f unix/Makefile CC="gcc" CPP="gcc -E" generic || die
41     }
42    
43     src_install()
44     {
45     cd ${SRCDIR}
46    
47     minstallexec zip || die
48     minstallexec zipcloak || die
49     minstallexec zipnote || die
50     minstallexec zipsplit || die
51     minstallman man/zip.1 || die
52     }

Properties

Name Value
svn:keywords Id