-Try to automatically generate missing configure script with autoreconf;
-Fixed bug with UTF-8 -> utf8;
-Automatically add supplementary groups after stage5;
-Automatically regenerate /usr/share/applications/mimeinfo.cache after stage 5 with update-desktop-database;
MILTER_SPF="smf-spf-2.0.2"
MOC="moc-2.4.4"
KMOD="kmod-8"
MILTER_SPF="smf-spf-2.0.2"
MOC="moc-2.4.4"
KMOD="kmod-8"
+MMM_MODE="mmm-mode-purcell-2012-09-21"
MPC="mpc-0.9"
MPFR="mpfr-3.1.0"
MSMTP="msmtp-1.4.29"
MPC="mpc-0.9"
MPFR="mpfr-3.1.0"
MSMTP="msmtp-1.4.29"
PATCH_PACKAGE="patch-2.6.1"
PCIUTILS="pciutils-3.1.10"
MENU_CACHE="menu-cache-0.3.3"
PATCH_PACKAGE="patch-2.6.1"
PCIUTILS="pciutils-3.1.10"
MENU_CACHE="menu-cache-0.3.3"
-LIBFM="libfm-1.0"
-PCMANFM="pcmanfm-1.0.1"
+LIBFM="libfm-1.1.0"
+PCMANFM="pcmanfm-1.1.0"
PCRE="pcre-8.31"
PERL="perl-5.14.2"
PERL_MOD_PDL="PDL-2.4.9"
PCRE="pcre-8.31"
PERL="perl-5.14.2"
PERL_MOD_PDL="PDL-2.4.9"
# accept the default configuration.
perl Makefile.PL -n ${CONFIGURE_OPTS}
else
# accept the default configuration.
perl Makefile.PL -n ${CONFIGURE_OPTS}
else
+ if [ ! -f ${LFS_TMP}/${PACKAGE}/configure ]; then
+ if [ -f ${LFS_TMP}/${PACKAGE}/configure.in -o \
+ -f ${LFS_TMP}/${PACKAGE}/configure.ac ]; then
+ # Try to automatically generate missing configure script.
+ autoreconf -vi
+ fi
+ fi
+
# Standard configure script
${LFS_TMP}/${PACKAGE}/configure ${CONFIGURE_OPTS}
fi
# Standard configure script
${LFS_TMP}/${PACKAGE}/configure ${CONFIGURE_OPTS}
fi
MANPATH=/usr/share/man:/usr/local/share/man
MANPATH=/usr/share/man:/usr/local/share/man
# The sort order of ls output is affected by the locale and
# can be overridden by the LC_COLLATE environment variable.
# The sort order of ls output is affected by the locale and
# can be overridden by the LC_COLLATE environment variable.
-hvconfig_pre()
-{
- cd ${LFS_TMP}/${PACKAGE}
- autoreconf -i
-}
-
hvbuild_post()
{
local GIT_MANPAGES="git-manpages-$(get_pkg_ver ${PACKAGE})"
hvbuild_post()
{
local GIT_MANPAGES="git-manpages-$(get_pkg_ver ${PACKAGE})"
${INSTALL_CATALOG} --remove ${CAT3} ${CAT4}
fi
fi
${INSTALL_CATALOG} --remove ${CAT3} ${CAT4}
fi
fi
-
- cd ${LFS_TMP}/${PACKAGE}
- autoreconf -f -i
ipkg ${PYGTK}
ipkg ${EMACS}
ipkg ${PYGTK}
ipkg ${EMACS}
ipkg ${HVCLOCK}
ipkg ${WMNOTIFY}
ipkg ${HVCLOCK}
ipkg ${WMNOTIFY}
#ipkg ${GEDA_SYMCHECK}
#ipkg ${GEDA_GATTRIB}
#ipkg ${GEDA_SYMCHECK}
#ipkg ${GEDA_GATTRIB}
-#rscr mult "Performing post-install" post-install
+rscr mult "Performing post-install" post-install
write_completed_stage
display_stage_build_stats
write_completed_stage
display_stage_build_stats
fpkg -m gnome ${PYGTK}
fpkg -m gnu ${EMACS}
fpkg -m gnome ${PYGTK}
fpkg -m gnu ${EMACS}
+fpkg -m hv ${MMM_MODE}
+
fpkg -e "tar.gz" ${HVCLOCK} "http://www.hugovil.com/repository/hvclock"
fpkg -e "tar.gz" ${WMNOTIFY} "http://www.hugovil.com/repository/wmnotify"
fpkg -e "tar.gz" ${HVCLOCK} "http://www.hugovil.com/repository/hvclock"
fpkg -e "tar.gz" ${WMNOTIFY} "http://www.hugovil.com/repository/wmnotify"
+++ /dev/null
-#!/bin/bash
-
-hvconfig_pre()
-{
- cd ${LFS_TMP}/${PACKAGE}
- autoreconf -vi
-}
+++ /dev/null
-#!/bin/bash
-
-hvconfig_pre()
-{
- cd ${LFS_TMP}/${PACKAGE}
- sh autogen.sh --prefix=/usr
- make distclean
-}
+update-desktop-database
+
if [ -n "${REGUSER}" ]; then
if [ -n "${REGUSER}" ]; then
- hv_useradd -g users -G audio,video,cdrom,usb,shutdown,halusers \
- -s /bin/bash -m ${REGUSER}
+ hv_useradd -g users -s /bin/bash -m ${REGUSER}
+
+ # Add user to these supplementary groups:
+ usermod -a -G audio,video,cdrom,usb,shutdown ${REGUSER}
fi
if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
fi
if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
# Apache
#########################################
READ_VALID="no"
# Apache
#########################################
READ_VALID="no"
while [ "${READ_VALID}" = "no" ]; do
echo "Do you want to generate SSL self-signed"
echo -n "certificate for Apache? (y/n): "
read USE_SSL
while [ "${READ_VALID}" = "no" ]; do
echo "Do you want to generate SSL self-signed"
echo -n "certificate for Apache? (y/n): "
read USE_SSL
if [ "${USE_SSL}" = "y" -o "${USE_SSL}" = "n" ]; then
READ_VALID="yes"
else
echo "Error, answer y or n"
fi
done
if [ "${USE_SSL}" = "y" -o "${USE_SSL}" = "n" ]; then
READ_VALID="yes"
else
echo "Error, answer y or n"
fi
done
if [ "${USE_SSL}" = "y" ]; then
/etc/apache/generate-ssl-certs
fi
if [ "${USE_SSL}" = "y" ]; then
/etc/apache/generate-ssl-certs
fi
#########################################
# imap
#########################################
READ_VALID="no"
#########################################
# imap
#########################################
READ_VALID="no"
while [ "${READ_VALID}" = "no" ]; do
echo "Do you want to generate SSL self-signed"
echo -n "certificate for IMAP server? (y/n): "
read USE_SSL
while [ "${READ_VALID}" = "no" ]; do
echo "Do you want to generate SSL self-signed"
echo -n "certificate for IMAP server? (y/n): "
read USE_SSL
if [ "${USE_SSL}" = "y" -o "${USE_SSL}" = "n" ]; then
READ_VALID="yes"
else
echo "Error, answer y or n"
fi
done
if [ "${USE_SSL}" = "y" -o "${USE_SSL}" = "n" ]; then
READ_VALID="yes"
else
echo "Error, answer y or n"
fi
done
if [ "${USE_SSL}" = "y" ]; then
/etc/mail/imap-ssl-certs
fi
if [ "${USE_SSL}" = "y" ]; then
/etc/mail/imap-ssl-certs
fi