Magellan Linux

Contents of /branches/R11-unstable/core/squashfs-tools/squashfs-tools-4.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25070 - (show annotations) (download)
Tue Nov 25 02:57:06 2014 UTC (9 years, 5 months ago) by niro
File size: 896 byte(s)
-release branches/R11-unstable
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 }