X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fcups-pdf;h=18d50792d7e1107246e31044ff20ff77242d911a;hb=66f439f5c705ed61c76f7839cec305674661b7e8;hp=6a6bec3cb151077cda9f13fe40bc8ab8be43ad09;hpb=3dae4c554ec18f465eb6ee5e6efdbdbe8557e13c;p=hvlinux.git diff --git a/stage5/pkg/cups-pdf b/stage5/pkg/cups-pdf index 6a6bec3..18d5079 100644 --- a/stage5/pkg/cups-pdf +++ b/stage5/pkg/cups-pdf @@ -1,27 +1,12 @@ -#!/bin/sh -set -o errexit - -# 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}/src -gcc -O9 -s -o cups-pdf cups-pdf.c -install -m 0700 cups-pdf /usr/lib/cups/backend - -cd ${LFS_TMP}/${PACKAGE} -cp extra/cups-pdf.conf /etc/cups -cp extra/CUPS-PDF.ppd /usr/share/cups/model - -exit $? +#!/bin/bash + +hvbuild() +{ + cd ${LFS_TMP}/${PACKAGE}/src + gcc -O9 -s -o cups-pdf cups-pdf.c + install -m 0700 cups-pdf /usr/lib/cups/backend + + cd ${LFS_TMP}/${PACKAGE} + cp extra/cups-pdf.conf /etc/cups + cp extra/CUPS-PDF.ppd /usr/share/cups/model +}