Magellan Linux

Contents of /trunk/core/squashfs-tools/squashfs-tools-3.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1030 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/squashfs-tools/squashfs-tools-3.3-r1.smage2,v 1.2 2008/02/10 23:32:23 niro Exp $
2
3 PNAME="squashfs-tools"
4 PVER="3.3"
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}.tgz"
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