X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Falsa-lib;h=029138b03fb52ef12c18249ecf4898917bdeb02c;hb=d0e5edd198015a62b0e89c7bfe2a4c60f68db44c;hp=81d877cd2718287b4a87aad1d7d05090f267f167;hpb=3dae4c554ec18f465eb6ee5e6efdbdbe8557e13c;p=hvlinux.git diff --git a/stage5/pkg/alsa-lib b/stage5/pkg/alsa-lib index 81d877c..029138b 100644 --- a/stage5/pkg/alsa-lib +++ b/stage5/pkg/alsa-lib @@ -1,23 +1,12 @@ -#!/bin/sh -set -o errexit - -# 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 \ - --enable-static -make -make install -install -v -m644 -D doc/asoundrc.txt /usr/share/doc/${1}/asoundrc.txt - -ldconfig - -exit $? +#!/bin/bash + +hvconfig_pre() +{ + CONFIGURE_OPTS=" \ + --enable-static" +} + +hvbuild_post() +{ + install -v -m644 -D doc/asoundrc.txt /usr/share/doc/${PACKAGE}/asoundrc.txt +}