Magellan Linux

Contents of /branches/magellan-next/core/squashfs-tools/squashfs-tools-4.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9444 - (show annotations) (download)
Wed Nov 30 18:53:07 2011 UTC (12 years, 5 months ago) by niro
File size: 928 byte(s)
-imported from trunk
1 # $Id$
2
3 PNAME="squashfs-tools"
4 PVER="4.0"
5 PBUILD="r2"
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