X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fpkg%2Fdocbook-utils;h=f822667651b4131473706c961af0b1d2a420b656;hb=7537c1f2f4728f09caee2c99f91c31ac426ed132;hp=46636ecc7290673c33fd114077adb173ef2abf16;hpb=3dae4c554ec18f465eb6ee5e6efdbdbe8557e13c;p=hvlinux.git diff --git a/stage3/pkg/docbook-utils b/stage3/pkg/docbook-utils index 46636ec..f822667 100644 --- a/stage3/pkg/docbook-utils +++ b/stage3/pkg/docbook-utils @@ -1,25 +1,14 @@ -#!/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} -sed -i 's:/html::' doc/HTML/Makefile.in -./configure \ - --prefix=/usr -make -make install - -for doctype in html ps dvi man pdf rtf tex texi txt; do - ln -sf docbook2$doctype /usr/bin/db2$doctype -done - -exit $? +#!/bin/bash + +hvconfig_pre() +{ + cd ${LFS_TMP}/${PACKAGE} + sed -i 's:/html::' doc/HTML/Makefile.in +} + +hvbuild_post() +{ + for doctype in html ps dvi man pdf rtf tex texi txt; do + ln -sf docbook2$doctype /usr/bin/db2$doctype + done +}