Magellan Linux

Contents of /smage/trunk/core/f2fs-tools/f2fs-tools-1.12.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13016 - (show annotations) (download)
Thu Mar 14 15:11:04 2019 UTC (5 years, 1 month ago) by niro
File size: 949 byte(s)
auto added: ver bump to 1.12.0-r1
1 # $Id$
2
3 PNAME="f2fs-tools"
4 PVER="1.12.0"
5 PBUILD="r1"
6
7 PCAT="sys-fs"
8
9 DESCRIPTION="Tools for Flash-Friendly File System (F2FS)."
10 HOMEPAGE="http://f2fs-tools.sourceforge.net/"
11
12 DEPEND=">= virtual/glibc
13 >= sys-libs/libuuid-2.30"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 ALX_PKG_KEEP="usr/sbin/mkfs.f2fs
19 usr/sbin/fsck.f2fs
20 usr/$(mlibdir)/*.so
21 usr/$(mlibdir)/*.so.*"
22 sminclude mbuild alx-split
23
24 SRC_URI=(
25 mirror://${PNAME}/${SRCFILE}
26 http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/${PNAME}.git/snapshot/${SRCFILE}
27 )
28
29 # no longer maintained on sf.net
30 #UP2DATE="updatecmd_sourceforge ${PNAME} gz"
31 UP2DATE="updatecmd http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/${PNAME}.git/ | grep -A1 'Tag' | grep 'v[0-9]' | sed 's:.*v\(.*\)\ \[.*:\1:' "
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37 mautoreconf || die
38 }
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 mconfigure --without-selinux || die
45 mmake || die
46 }