Contents of /trunk/core/squashfs-tools/squashfs-tools-4.3-r1.smage2
Parent Directory | Revision Log
Revision 21268 -
(show annotations)
(download)
Tue Jun 10 12:38:09 2014 UTC (10 years, 3 months ago) by niro
File size: 896 byte(s)
Tue Jun 10 12:38:09 2014 UTC (10 years, 3 months ago) by niro
File size: 896 byte(s)
auto added: ver bump to 4.3-r1
1 | # $Id$ |
2 | |
3 | PNAME="squashfs-tools" |
4 | PVER="4.3" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="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=">= virtual/sed" |
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 | UP2SEPERATOR="NULL" |
28 | UP2DATE="updatecmd_sourceforge ${PNAME/-tools/} gz" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR}/squashfs-tools |
34 | |
35 | # force use of our CFLAGS |
36 | sed -i "s:-O2:${CFLAGS}:" Makefile || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR}/squashfs-tools |
42 | mmake || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | minstallexec squashfs-tools/mksquashfs || die |
50 | minstallexec squashfs-tools/unsquashfs || die |
51 | |
52 | minstalldocs ACKNOWLEDGEMENTS README* CHANGES || die |
53 | } |