# GNOME2 core packages
GNOME2_VER="gnome-2.28.1"
-GNOME2_PREFIX="/opt/${GNOME2_VER}"
ORBIT2="ORBit2-2.14.19"
LIBBONOBO="libbonobo-2.24.2"
GCONF="GConf-2.32.3"
USE_SAMBA="no"
# Override some packages
-#KERNEL="${NOUVEAU_NVIDIA_KERNEL}"
+KERNEL="${NOUVEAU_NVIDIA_KERNEL}"
rscr mult "Configuring ${GNOME2_VER}" gnome-config
source /etc/profile
+ echo "Test"
+ exit 0
+
ipkg_gnome ${ORBIT2}
ipkg ${GCONF}
ipkg ${LIBPROXY} "--with-gnome"
hvconfig_pre()
{
CONFIGURE_OPTS=" \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
- --sysconfdir=/etc/gnome/${GNOME2_VER} \
+ --prefix=/usr \
+ --libexecdir=/usr/sbin \
+ --infodir=/usr/share/info \
--localstatedir=/var/lib \
- --infodir=${GNOME2_PREFIX}/share/info"
+ --sysconfdir=/etc/gnome/${GNOME2_VER}"
}
hvconfig_pre()
{
CONFIGURE_OPTS=" \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
- --infodir=${GNOME2_PREFIX}/share/info \
+ --prefix=/usr \
+ --libexecdir=/usr/sbin \
+ --infodir=/usr/share/info \
--localstatedir=/var/lib \
--sysconfdir=/etc/gnome/${GNOME2_VER}"
}
cd ${LFS_TMP}/${1}-build &&
../${1}/configure \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
+ --prefix=/usr \
+ --libexecdir=/usr/sbin \
--localstatedir=/var/lib \
- --infodir=${GNOME2_PREFIX}/share/info \
+ --infodir=/usr/share/info \
--sysconfdir=/etc/gnome/${GNOME2_VER} &&
make &&
make install &&
CFLAGS="${CFLAGS} -ldl"
cd ${LFS_TMP}/${1}-build &&
../${1}/configure \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
+ --prefix=/usr \
+ --libexecdir=/usr/sbin \
--localstatedir=/var/lib \
- --infodir=${GNOME2_PREFIX}/share/info \
+ --infodir=/usr/share/info \
--with-pam-prefix=/etc \
--sysconfdir=/etc/gnome/${GNOME2_VER} &&
make &&
cd ${LFS_TMP}/${1}-build &&
../${1}/configure \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
- --infodir=${GNOME2_PREFIX}/share/info \
+ --prefix=/usr \
+ --libexecdir=/usr/sbin \
+ --infodir=/usr/share/info \
--localstatedir=/var/lib \
--sysconfdir=/etc/gnome/${GNOME2_VER} &&
make &&
apply_patches ${1} &&
cd ${LFS_TMP}/${1} &&
-make prefix=${GNOME2_PREFIX} install
+make prefix=/usr install
# Return last error
exit $?
cd ${LFS_TMP}/${1}-build &&
../${1}/configure \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
+ --prefix=/usr \
+ --libexecdir=/usr/sbin \
--localstatedir=/var/lib \
- --infodir=${GNOME2_PREFIX}/share/info \
+ --infodir=/usr/share/info \
--sysconfdir=/etc/gnome/${GNOME2_VER} &&
make &&
make install &&
-install -v -m755 -d ${GNOME2_PREFIX}/share/doc/${NAUTILUS} &&
+install -v -m755 -d /usr/share/doc/${NAUTILUS} &&
install -v -m644 ${LFS_TMP}/${1}/docs/*.{txt,dia,pdf,sxw,faq,html} \
- ${GNOME2_PREFIX}/share/doc/${NAUTILUS} &&
+ /usr/share/doc/${NAUTILUS} &&
ldconfig
# Return last error