X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fgnome;h=b45fe9415b1028b71085daeef3c1cbf37e9fb15c;hb=9c23f087819d8e17cd248a3e2543d59b4c32d26d;hp=b381577b8a5a36446e6799e8bcd0e60afc36d756;hpb=3dae4c554ec18f465eb6ee5e6efdbdbe8557e13c;p=hvlinux.git diff --git a/stage5/pkg/gnome b/stage5/pkg/gnome index b381577..b45fe94 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=/usr \ + --libexecdir=/usr/sbin \ + --infodir=/usr/share/info \ + --localstatedir=/var/lib \ + --sysconfdir=/etc/gnome/${GNOME2_VER}" +}