Magellan Linux

Annotation of /trunk/core/cifs-utils/cifs-utils-6.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29707 - (hide annotations) (download)
Tue Oct 10 07:12:21 2017 UTC (6 years, 7 months ago) by niro
File size: 940 byte(s)
-updated UP2DATE uri
1 niro 28619 # $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 niro 28622 >= sys-libs/libcap-2.22
14     >= dev-libs/talloc-2.1"
15 niro 28619
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 niro 29707 UP2DATE="updatecmd http://ftp.samba.org/pub/linux-cifs/cifs-utils/ | highesttarball"
27 niro 28619
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33 niro 28620 mautoreconf || die
34    
35 niro 28619 # 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     }