Magellan Linux

Annotation of /smage/trunk/deprecated/cifs-utils/cifs-utils-6.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9446 - (hide annotations) (download)
Thu Apr 6 08:52:41 2017 UTC (7 years, 2 months ago) by niro
Original Path: smage/trunk/extras/cifs-utils/cifs-utils-6.7-r1.smage2
File size: 955 byte(s)
auto added: ver bump to 6.7-r1
1 niro 9443 # $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    
15     SDEPEND=">= sys-libs/libcap-dev-2.22"
16    
17     SRCFILE="${PNAME}-${PVER}.tar.bz2"
18     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19    
20     sminclude mbuild
21    
22     SRC_URI=(
23     http://ftp.samba.org/pub/linux-cifs/${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27 niro 9444 UP2DATE="updatecmd http://ftp.samba.org/pub/linux-cifs/cifs-utils/ | highesttarball"
28 niro 9443
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34 niro 9446 mautoreconf || die
35    
36 niro 9443 # fix compilation with -Werror=unused-but-set-variable
37     sed -i 's:-Werror::g' Makefile.{in,am} || die
38     }
39    
40     src_compile()
41     {
42     cd ${SRCDIR}
43    
44     ROOTSBINDIR="/usr/sbin" \
45     mconfigure \
46     --with-libcap-ng=no \
47     --with-libcap \
48     --disable-cifsupcall \
49     --disable-cifsidmap \
50     --disable-cifsacl \
51     || die
52    
53     mmake || die
54     }