Contents of /trunk/core/squashfs-tools/squashfs-tools-4.0-r1.smage2
Parent Directory | Revision Log
Revision 1159 -
(show annotations)
(download)
Sat Apr 25 10:12:22 2009 UTC (15 years, 5 months ago) by niro
File size: 928 byte(s)
Sat Apr 25 10:12:22 2009 UTC (15 years, 5 months ago) by niro
File size: 928 byte(s)
auto added: ver bump to 4.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="squashfs-tools" |
4 | PVER="4.0" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-fs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Tools to handle squashfs filesystems." |
11 | HOMEPAGE="http://squashfs.sourceforge.net/" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= sys-libs/zlib-1" |
15 | |
16 | SDEPEND=">= sys-apps/sed-4" |
17 | |
18 | SRCFILE="${PNAME/-tools/}${PVER/p/-r}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME/-tools/}${PVER/p/-r}" |
20 | |
21 | sminclude mtools |
22 | |
23 | SRC_URI=( |
24 | sourceforge://squashfs/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd_sourceforge ${PNAME/-tools/} | sed 's/${PNAME/-tools/}//'" |
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 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |