Magellan Linux

Diff of /branches/R11-unstable/include/xfce.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/core/include/xfce.sminc revision 5721 by niro, Sat Aug 7 12:43:36 2010 UTC trunk/include/xfce.sminc revision 16170 by niro, Mon Jan 28 08:55:49 2013 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3  : ${PCATEGORIE="xfce-base"}  : ${PCAT="xfce-base"}
4  : ${HOMEPAGE="http://www.xfce.org/"}  : ${HOMEPAGE="http://www.xfce.org/"}
5    
6  : ${SRCFILE="${PNAME}-${PVER}.tar.bz2"}  : ${SRCFILE="${PNAME}-${PVER}.tar.bz2"}
# Line 13  SDEPEND="${SDEPEND} Line 13  SDEPEND="${SDEPEND}
13    
14  sminclude mtools  sminclude mtools
15    
16    case ${PNAME} in
17     thunar-*-plugin) URISUBDIR="thunar-plugins" ;;
18     xfce4-*-plugin) URISUBDIR="panel-plugins" ;;
19     parole|orage|ristretto|xfburn) URISUBDIR="apps" ;;
20     xfce4-dict|xfce4-mixer|xfce4-notifyd|xfce4-taskmanager|xfce4-screenshooter|xfce4-terminal) URISUBDIR="apps" ;;
21     *) URISUBDIR="xfce" ;;
22    esac
23    
24  # default SRC_URIs  # default SRC_URIs
25  SRC_URI=(  SRC_URI=(
26   ${SRC_URI[*]}   ${SRC_URI[*]}
27   http://mocha.xfce.org/archive/src/xfce/${PNAME}/${PVER%.*}/${SRCFILE}   http://mocha.xfce.org/archive/src/${URISUBDIR}/${PNAME}/$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE}
28     http://archive.xfce.org/src/${URISUBDIR}/${PNAME}/$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE}
29   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
30  )  )
31    
# Line 26  SPECIAL_FUNCTIONS="${SPECIAL_FUNCTIONS} Line 35  SPECIAL_FUNCTIONS="${SPECIAL_FUNCTIONS}
35  xfce_configure()  xfce_configure()
36  {  {
37   local configure_opts="$@"   local configure_opts="$@"
38   mconfigure ${configure_opts} || die   mconfigure \
39     --libexecdir=/usr/$(mlibdir)/${PNAME} \
40     --with-html-dir=/usr/share/doc/${PNAME}-${PVER}/html \
41     --disable-debug \
42     --disable-static \
43     ${configure_opts} \
44     || die
45  }  }
46    
47  xfce_src_prepare()  xfce_src_prepare()
# Line 38  xfce_src_compile() Line 53  xfce_src_compile()
53  {  {
54   cd ${SRCDIR}   cd ${SRCDIR}
55    
56   xfce_configure \   xfce_configure || die
  --libexecdir=/usr/$(mlibdir)/${PNAME} \  
  --with-html-dir=/usr/share/doc/${PNAME}-${PVER}/html \  
  --disable-debug \  
  --disable-static \  
  || die  
   
57   mmake ${XFCE_MAKE_OPTS} || die   mmake ${XFCE_MAKE_OPTS} || die
58  }  }
59    

Legend:
Removed from v.5721  
changed lines
  Added in v.16170