X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fgnash;h=c3d8294a6bb29be46b5cbcabcda8578f8f072bdf;hb=bdd3347ff8920ece383a232d12aef0d3720c8bff;hp=d80ac3757b5dd62ab44e67e0bd7aaae775c75ea5;hpb=3dae4c554ec18f465eb6ee5e6efdbdbe8557e13c;p=hvlinux.git diff --git a/stage5/pkg/gnash b/stage5/pkg/gnash index d80ac37..c3d8294 100644 --- a/stage5/pkg/gnash +++ b/stage5/pkg/gnash @@ -1,31 +1,15 @@ -#!/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}-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 $? +#!/bin/bash + +hvconfig_pre() +{ + CONFIGURE_OPTS+=" \ + --enable-gui=gtk \ + --enable-media=gst \ + --enable-renderer=cairo,agg \ + --with-npapi-plugindir=/usr/lib/mozilla/plugins" +} + +hvbuild_post() +{ + make install-plugin +}