21 |
) |
) |
22 |
|
|
23 |
# special functions needed by postinstall|postremove |
# special functions needed by postinstall|postremove |
24 |
SPECIAL_FUNCTIONS="${SPECIAL_FUNCTIONS} xfce_update_desktop_db xfce_update_mime_db xfce_update_icon_cache" |
SPECIAL_FUNCTIONS="${SPECIAL_FUNCTIONS} xfce_update_desktop_db xfce_update_mime_db xfce_update_icon_cache xfce_postinstall xfce_postremove" |
25 |
|
|
26 |
xfce_configure() |
xfce_configure() |
27 |
{ |
{ |
28 |
local configure_opts="$@" |
local configure_opts="$@" |
29 |
mconfigure ${configure_opts} || die |
mconfigure \ |
30 |
|
--libexecdir=/usr/$(mlibdir)/${PNAME} \ |
31 |
|
--with-html-dir=/usr/share/doc/${PNAME}-${PVER}/html \ |
32 |
|
--disable-debug \ |
33 |
|
--disable-static \ |
34 |
|
${configure_opts} \ |
35 |
|
|| die |
36 |
} |
} |
37 |
|
|
38 |
xfce_src_prepare() |
xfce_src_prepare() |
43 |
xfce_src_compile() |
xfce_src_compile() |
44 |
{ |
{ |
45 |
cd ${SRCDIR} |
cd ${SRCDIR} |
46 |
xfce_configure --disable-debug --disable-static || die |
|
47 |
|
xfce_configure || die |
48 |
mmake ${XFCE_MAKE_OPTS} || die |
mmake ${XFCE_MAKE_OPTS} || die |
49 |
} |
} |
50 |
|
|