X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fgnome;h=a5c103ec1ddc560286e03bc8732bf93f40ed1fd4;hb=f3c8db3027d5dc530e1f30c88e0235975211582e;hp=b381577b8a5a36446e6799e8bcd0e60afc36d756;hpb=0fb786eca497edb316e1dfaa4a4ccec2d6b3f694;p=hvlinux.git diff --git a/stage5/pkg/gnome b/stage5/pkg/gnome index b381577..a5c103e 100644 --- a/stage5/pkg/gnome +++ b/stage5/pkg/gnome @@ -1,28 +1,11 @@ -#!/bin/sh -# First argument of this script is the package name. -# Remaining arguments are additional configure options. - -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -source ../packages-list - -PACKAGE=${1} -shift -CONFIGURE_OPTS=${*} - -# Applying patches (if any) -apply_patches ${PACKAGE} && - -cd ${LFS_TMP}/${PACKAGE}-build && -../${PACKAGE}/configure \ - --prefix=${GNOME2_PREFIX} \ - --libexecdir=${GNOME2_PREFIX}/sbin \ - --sysconfdir=/etc/gnome/${GNOME2_VER} \ - --localstatedir=/var/lib \ - ${CONFIGURE_OPTS} && -make && -make install && -ldconfig - -exit $? +#!/bin/bash + +hvconfig_pre() +{ + CONFIGURE_OPTS=" \ + --prefix=${GNOME2_PREFIX} \ + --libexecdir=${GNOME2_PREFIX}/sbin \ + --sysconfdir=/etc/gnome/${GNOME2_VER} \ + --localstatedir=/var/lib \ + --infodir=${GNOME2_PREFIX}/share/info" +}