summaryrefslogtreecommitdiff
path: root/firefox/Pkgfile
blob: ea1f0bf44af20725e9be98db0a5f3b314b99225b (plain)
    1 # Description: Mozilla Web Browser Component
    2 # URL: http://www.mozilla.com/firefox/
    3 # Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
    4 # Depends on: xulrunner
    5 
    6 name=firefox
    7 version=3.6.8
    8 release=1
    9 source=(http://releases.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version.source.tar.bz2
   10         mozconfig)
   11     
   12 build() {
   13     export MOZ_CO_PROJECT=browser
   14     export BUILD_OFFICIAL=1
   15     export MOZILLA_OFFICIAL=1
   16     export MOZILLA_FIVE_HOME=/usr/lib/firefox
   17 
   18     cd mozilla-1.9.2
   19     sed -e "s/#CFLAGS#/$CFLAGS/" $SRC/mozconfig > .mozconfig
   20     ./configure
   21     make
   22 
   23     install -d \
   24 	$PKG$MOZILLA_FIVE_HOME \
   25 	$PKG/usr/bin \
   26 	$PKG/usr/share/idl/firefox \
   27 	$PKG/usr/include/firefox
   28 
   29     cp -rL dist/bin/* $PKG$MOZILLA_FIVE_HOME
   30     ln -s /usr/lib/firefox/firefox $PKG/usr/bin/firefox
   31 
   32     # devel stuff
   33     cp -frL dist/idl/* $PKG/usr/share/idl/firefox/
   34     cp -frL dist/include/* $PKG/usr/include/firefox/
   35 }

Generated by cgit