Annotation of /trunk/core/cifs-utils/cifs-utils-6.9-r1.smage2
Parent Directory | Revision Log
Revision 33006 -
(hide annotations)
(download)
Wed Oct 9 12:53:21 2019 UTC (4 years, 11 months ago) by niro
File size: 940 byte(s)
Wed Oct 9 12:53:21 2019 UTC (4 years, 11 months ago) by niro
File size: 940 byte(s)
auto added: ver bump to 6.9-r1
1 | niro | 33006 | # $Id$ |
2 | |||
3 | PNAME="cifs-utils" | ||
4 | PVER="6.9" | ||
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 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | sminclude mbuild | ||
20 | |||
21 | SRC_URI=( | ||
22 | http://ftp.samba.org/pub/linux-cifs/${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd http://ftp.samba.org/pub/linux-cifs/cifs-utils/ | highesttarball" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | mautoreconf || die | ||
34 | |||
35 | # fix compilation with -Werror=unused-but-set-variable | ||
36 | sed -i 's:-Werror::g' Makefile.{in,am} || die | ||
37 | } | ||
38 | |||
39 | src_compile() | ||
40 | { | ||
41 | cd ${SRCDIR} | ||
42 | |||
43 | ROOTSBINDIR="/usr/sbin" \ | ||
44 | mconfigure \ | ||
45 | --with-libcap-ng=no \ | ||
46 | --with-libcap \ | ||
47 | --disable-cifsupcall \ | ||
48 | --disable-cifsidmap \ | ||
49 | --disable-cifsacl \ | ||
50 | || die | ||
51 | |||
52 | mmake || die | ||
53 | } |