2008-10-09 01:28:54 +02:00
|
|
|
# Template build file for 'firefox'.
|
|
|
|
pkgname=firefox
|
2011-05-25 14:46:51 +02:00
|
|
|
version=4.0.1
|
2011-10-21 02:32:22 +02:00
|
|
|
revision=1
|
2011-04-08 22:23:39 +02:00
|
|
|
_libxul_sdkver=2.0
|
2010-04-13 15:03:16 +02:00
|
|
|
wrksrc=mozilla-${_libxul_sdkver}
|
2011-04-08 22:23:39 +02:00
|
|
|
patch_args="-Np1"
|
2011-10-21 00:36:34 +02:00
|
|
|
#distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
|
|
|
distfiles="http://ftp.mozilla.org/pub/mozilla.org/mozilla.org/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
2008-10-09 01:28:54 +02:00
|
|
|
build_style=gnu_configure
|
2009-12-21 14:53:26 +01:00
|
|
|
configure_args="--enable-application=browser --enable-default-toolkit=cairo-gtk2
|
2011-04-08 22:23:39 +02:00
|
|
|
--disable-crashreporter --disable-tests --disable-debug --enable-notify
|
2009-12-21 23:08:02 +01:00
|
|
|
--enable-optimize --disable-embedding-tests --disable-installer
|
|
|
|
--disable-javaxpcom --disable-necko-wifi --disable-oji --disable-updater
|
|
|
|
--disable-gnomevfs --disable-gnomeui --disable-gconf --disable-dbm
|
|
|
|
--with-system-zlib --with-system-bz2 --enable-system-cairo --with-pthreads
|
|
|
|
--with-system-png --with-system-jpeg --enable-jemalloc --enable-safe-browsing
|
|
|
|
--with-system-sqlite --with-system-nspr --with-system-nss --enable-libxul
|
2011-04-08 22:23:39 +02:00
|
|
|
--with-system-libevent --enable-system-hunspell --enable-extensions=default
|
|
|
|
--enable-pango --enable-svg --enable-canvas --enable-smil --enable-canvas3d
|
|
|
|
--enable-places --enable-shared-js --enable-url-classifier --enable-gio
|
2010-04-13 15:03:16 +02:00
|
|
|
--with-libxul-sdk=/usr/lib/xulrunner-devel-${_libxul_sdkver}"
|
2008-10-09 01:28:54 +02:00
|
|
|
short_desc="Lightweight gecko-based web browser"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-25 14:46:51 +02:00
|
|
|
checksum=cf3a39877facc229a67760915341fe95095cca647faab3a7adcb70046105199c
|
2008-10-09 01:28:54 +02:00
|
|
|
long_desc="
|
|
|
|
Mozilla Firefox is a free, open-source and cross-platform web browser
|
|
|
|
for Windows, Linux, MacOS X and many other operating systems. It is
|
|
|
|
small, fast and easy to use, and offers many advantages over other web
|
|
|
|
browsers, such as tabbed browsing and the ability to block pop-up
|
|
|
|
windows.
|
|
|
|
|
|
|
|
Firefox also offers excellent bookmark and history management, and it
|
|
|
|
can be extended by developers using industry standards such as XML,
|
|
|
|
CSS, JavaScript, C++, etc. Many extensions are available."
|
2009-11-15 22:08:52 +01:00
|
|
|
|
2010-01-11 17:20:14 +01:00
|
|
|
Add_dependency run glibc
|
2011-10-21 02:32:22 +02:00
|
|
|
Add_dependency run libgcc
|
2009-12-21 23:08:02 +01:00
|
|
|
Add_dependency run libstdc++
|
2010-10-29 11:22:43 +02:00
|
|
|
Add_dependency run glib
|
2010-01-11 17:20:14 +01:00
|
|
|
Add_dependency run nspr
|
2010-10-24 11:54:00 +02:00
|
|
|
Add_dependency run gdk-pixbuf
|
2010-01-11 17:20:14 +01:00
|
|
|
Add_dependency run gtk+
|
2010-10-29 11:22:43 +02:00
|
|
|
Add_dependency run xulrunner
|
|
|
|
|
2009-12-21 23:08:02 +01:00
|
|
|
Add_dependency build zip
|
2011-07-04 10:33:20 +02:00
|
|
|
Add_dependency build perl ">=0"
|
|
|
|
Add_dependency build python ">=0"
|
|
|
|
Add_dependency build yasm
|
2010-01-11 17:20:14 +01:00
|
|
|
Add_dependency build glibc-devel
|
|
|
|
Add_dependency build libstdc++-devel
|
2009-12-21 23:08:02 +01:00
|
|
|
Add_dependency build xulrunner-devel
|
2010-01-11 17:20:14 +01:00
|
|
|
Add_dependency build nspr-devel
|
|
|
|
Add_dependency build gtk+-devel
|
2011-07-04 10:33:20 +02:00
|
|
|
Add_dependency build libevent-devel
|
|
|
|
Add_dependency build hunspell-devel
|
2009-12-21 23:08:02 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-03-08 16:28:13 +01:00
|
|
|
install -d ${DESTDIR}/usr/share/applications
|
|
|
|
install -d ${DESTDIR}/usr/share/pixmaps
|
2009-12-21 23:08:02 +01:00
|
|
|
install -m644 ${FILESDIR}/*.desktop \
|
2011-03-08 16:28:13 +01:00
|
|
|
${DESTDIR}/usr/share/applications
|
2009-12-21 23:08:02 +01:00
|
|
|
install -m644 ${wrksrc}/browser/branding/unofficial/default48.png \
|
2011-03-08 16:28:13 +01:00
|
|
|
${DESTDIR}/usr/share/pixmaps/firefox.png
|
2009-12-21 23:08:02 +01:00
|
|
|
}
|