Contents of /smage/trunk/deprecated/cifs-utils/cifs-utils-6.7-r1.smage2
Parent Directory | Revision Log
Revision 11119 -
(show annotations)
(download)
Fri Sep 8 12:05:36 2017 UTC (7 years ago) by niro
File size: 1007 byte(s)
Fri Sep 8 12:05:36 2017 UTC (7 years ago) by niro
File size: 1007 byte(s)
-moved to 'deprecated'
1 | # $Id$ |
2 | |
3 | PNAME="cifs-utils" |
4 | PVER="6.7" |
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 | >= dev-libs/talloc-2.1" |
15 | |
16 | SDEPEND=">= sys-libs/libcap-dev-2.22 |
17 | >= dev-libs/talloc-dev-2.1" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude mbuild |
23 | |
24 | SRC_URI=( |
25 | http://ftp.samba.org/pub/linux-cifs/${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd http://ftp.samba.org/pub/linux-cifs/cifs-utils/ | highesttarball" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | mautoreconf || die |
37 | |
38 | # fix compilation with -Werror=unused-but-set-variable |
39 | sed -i 's:-Werror::g' Makefile.{in,am} || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | ROOTSBINDIR="/usr/sbin" \ |
47 | mconfigure \ |
48 | --with-libcap-ng=no \ |
49 | --with-libcap \ |
50 | --disable-cifsupcall \ |
51 | --disable-cifsidmap \ |
52 | --disable-cifsacl \ |
53 | || die |
54 | |
55 | mmake || die |
56 | } |