X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fgnash;h=b71ca0d66db830b5dd176be5a9d199c810e1e7bd;hb=6fb59c47344b8dec7f46dde511032a1ecb9b6658;hp=d80ac3757b5dd62ab44e67e0bd7aaae775c75ea5;hpb=3dae4c554ec18f465eb6ee5e6efdbdbe8557e13c;p=hvlinux.git diff --git a/stage5/pkg/gnash b/stage5/pkg/gnash index d80ac37..b71ca0d 100644 --- a/stage5/pkg/gnash +++ b/stage5/pkg/gnash @@ -1,31 +1,16 @@ -#!/bin/sh -set -o errexit +#!/bin/bash -# First argument of this script is the package name. -# Remaining arguments are additional configure options. +hvconfig_pre() +{ + CONFIGURE_OPTS=" \ + ${CONFIGURE_OPTS} \ + --enable-gui=gtk \ + --enable-media=gst \ + --enable-renderer=cairo,agg \ + --with-npapi-plugindir=/usr/lib/mozilla/plugins" +} -# 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 \ - --enable-gui=gtk \ - ${CONFIGURE_OPTS} -make -make install -ldconfig - -install -m 755 plugin/.libs/libgnashplugin.so /usr/lib/firefox/plugins - -exit $? +hvbuild_post() +{ + make install-plugin +}