Annotation of /branches/R11-stable/core/squashfs-tools/squashfs-tools-4.2-r1.smage2
Parent Directory | Revision Log
Revision 9445 -
(hide annotations)
(download)
Wed Nov 30 18:55:44 2011 UTC (12 years, 9 months ago) by niro
Original Path: branches/magellan-next/core/squashfs-tools/squashfs-tools-4.2-r1.smage2
File size: 911 byte(s)
Wed Nov 30 18:55:44 2011 UTC (12 years, 9 months ago) by niro
Original Path: branches/magellan-next/core/squashfs-tools/squashfs-tools-4.2-r1.smage2
File size: 911 byte(s)
auto added: ver bump to 4.2-r1
1 | niro | 9445 | # $Id$ |
2 | |||
3 | PNAME="squashfs-tools" | ||
4 | PVER="4.2" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-fs" | ||
8 | |||
9 | DESCRIPTION="Tools to handle squashfs filesystems." | ||
10 | HOMEPAGE="http://squashfs.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc | ||
13 | >= sys-libs/zlib-1" | ||
14 | |||
15 | SDEPEND=">= sys-apps/sed-4" | ||
16 | |||
17 | SRCFILE="${PNAME/-tools/}${PVER/p/-r}.tar.gz" | ||
18 | SRCDIR="${BUILDDIR}/${PNAME/-tools/}${PVER/p/-r}" | ||
19 | |||
20 | sminclude mtools | ||
21 | |||
22 | SRC_URI=( | ||
23 | sourceforge://squashfs/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | UP2DATE="updatecmd_sourceforge ${PNAME/-tools/} | sed 's/${PNAME/-tools/}//'" | ||
28 | |||
29 | src_prepare() | ||
30 | { | ||
31 | munpack ${SRCFILE} || die | ||
32 | cd ${SRCDIR}/squashfs-tools | ||
33 | |||
34 | # force use of our CFLAGS | ||
35 | sed -i "s:-O2:${CFLAGS}:" Makefile || die | ||
36 | } | ||
37 | |||
38 | src_compile() | ||
39 | { | ||
40 | cd ${SRCDIR}/squashfs-tools | ||
41 | mmake || die | ||
42 | } | ||
43 | |||
44 | src_install() | ||
45 | { | ||
46 | cd ${SRCDIR} | ||
47 | |||
48 | minstallexec squashfs-tools/mksquashfs || die | ||
49 | minstallexec squashfs-tools/unsquashfs || die | ||
50 | |||
51 | minstalldocs ACKNOWLEDGEMENTS README* CHANGES || die | ||
52 | } |