Contents of /branches/R11-stable/core/cifs-utils/cifs-utils-6.4-r1.smage2
Parent Directory | Revision Log
Revision 21672 -
(show annotations)
(download)
Mon Jul 21 09:29:14 2014 UTC (10 years, 2 months ago) by niro
File size: 915 byte(s)
Mon Jul 21 09:29:14 2014 UTC (10 years, 2 months ago) by niro
File size: 915 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="cifs-utils" |
4 | PVER="6.4" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-fs" |
8 | |
9 | DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems." |
10 | HOMEPAGE="http://wiki.samba.org/index.php/LinuxCIFS_utils" |
11 | |
12 | DEPEND=">= virtual/glibc |
13 | >= sys-libs/libcap-2.22" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | http://ftp.samba.org/pub/linux-cifs/${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd http://ftp.samba.org/pub/linux-cifs/cifs-utils/ | lasttarball" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | cd ${SRCDIR} |
31 | |
32 | # fix compilation with -Werror=unused-but-set-variable |
33 | sed -i 's:-Werror::g' Makefile.{in,am} || die |
34 | } |
35 | |
36 | src_compile() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | ROOTSBINDIR="/usr/sbin" \ |
41 | mconfigure \ |
42 | --with-libcap-ng=no \ |
43 | --with-libcap \ |
44 | --disable-cifsupcall \ |
45 | --disable-cifscred \ |
46 | --disable-cifsidmap \ |
47 | --disable-cifsacl \ |
48 | || die |
49 | |
50 | mmake || die |
51 | } |