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