Contents of /branches/magellan-next/extras/libzip/libzip-0.10-r2.smage2
Parent Directory | Revision Log
Revision 8580 -
(show annotations)
(download)
Fri Jul 22 11:34:00 2011 UTC (13 years, 2 months ago) by niro
File size: 609 byte(s)
Fri Jul 22 11:34:00 2011 UTC (13 years, 2 months ago) by niro
File size: 609 byte(s)
-fixed missing headers
1 | # $Id$ |
2 | |
3 | PNAME="libzip" |
4 | PVER="0.10" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | |
9 | DESCRIPTION="C library for reading, creating and modifying zip archives." |
10 | HOMEPAGE="http://www.nih.at/libzip/" |
11 | |
12 | DEPEND="" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude mbuild |
18 | |
19 | SRC_URI=( |
20 | http://www.nih.at/${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${PNAME}-${PVER}-missing-headers.patch |
23 | ) |
24 | |
25 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | cd ${SRCDIR} |
31 | |
32 | # fix missing headers |
33 | mpatch ${PNAME}-${PVER}-missing-headers.patch || die |
34 | } |