X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fiso-codes;h=59da3bc144c23fd814035cd215fd0c648f05f0d0;hb=f3c8db3027d5dc530e1f30c88e0235975211582e;hp=1e62131387b9e7554d70680dba378200981ae9af;hpb=0fb786eca497edb316e1dfaa4a4ccec2d6b3f694;p=hvlinux.git diff --git a/stage5/pkg/iso-codes b/stage5/pkg/iso-codes index 1e62131..59da3bc 100644 --- a/stage5/pkg/iso-codes +++ b/stage5/pkg/iso-codes @@ -1,27 +1,7 @@ -#!/bin/sh -# First argument of this script is the package name. -# Remaining arguments are additional configure options. +#!/bin/bash -# 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=/usr \ - --sysconfdir=/etc \ - ${CONFIGURE_OPTS} && -make && -make pkgconfigdir=/usr/lib/pkgconfig install && -ldconfig - -# Return last error -exit $? +hvbuild() +{ + make + make pkgconfigdir=/usr/lib/pkgconfig install +}