2008-10-09 01:28:54 +02:00
|
|
|
# Template build file for 'firefox'.
|
|
|
|
pkgname=firefox
|
2010-01-06 10:47:34 +01:00
|
|
|
version=3.5.7
|
2010-01-11 17:20:14 +01:00
|
|
|
revision=1
|
2009-11-15 22:08:52 +01:00
|
|
|
wrksrc=mozilla-1.9.1
|
2009-12-21 23:08:02 +01:00
|
|
|
distfiles="${MOZILLA_SITE}/${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
|
2009-12-21 23:08:02 +01:00
|
|
|
--disable-crashreporter --disable-tests --disable-debug
|
|
|
|
--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
|
|
|
|
--with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.1"
|
2008-10-09 01:28:54 +02:00
|
|
|
short_desc="Lightweight gecko-based web browser"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-01-06 10:47:34 +01:00
|
|
|
checksum=a0876896c66cbf06d8bb929687248ac28b99388068e4b5bd29f16366c38e0185
|
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
|
|
|
|
Add_dependency run alsa-lib
|
2009-12-21 23:08:02 +01:00
|
|
|
Add_dependency run libstdc++
|
2010-01-11 17:20:14 +01:00
|
|
|
Add_dependency run libgcc
|
2009-12-21 23:08:02 +01:00
|
|
|
Add_dependency run xulrunner
|
2010-01-11 17:20:14 +01:00
|
|
|
Add_dependency run nspr
|
|
|
|
Add_dependency run gtk+
|
|
|
|
Add_dependency run atk
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run pango
|
|
|
|
Add_dependency run freetype
|
|
|
|
Add_dependency run fontconfig
|
|
|
|
Add_dependency run cairo
|
2009-12-21 23:08:02 +01:00
|
|
|
Add_dependency build zip
|
2010-01-14 14:58:09 +01:00
|
|
|
Add_dependency build perl
|
2009-12-21 23:08:02 +01:00
|
|
|
Add_dependency build python
|
2010-01-11 17:20:14 +01:00
|
|
|
Add_dependency build glibc-devel
|
|
|
|
Add_dependency build alsa-lib-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
|
|
|
|
Add_dependency build atk-devel
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build pango-devel
|
|
|
|
Add_dependency build freetype-devel
|
|
|
|
Add_dependency build fontconfig-devel
|
|
|
|
Add_dependency build cairo-devel
|
2009-12-21 23:08:02 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
install -d ${DESTDIR}/usr/share/applications || return 1
|
|
|
|
install -d ${DESTDIR}/usr/share/pixmaps || return 1
|
|
|
|
install -m644 ${FILESDIR}/*.desktop \
|
|
|
|
${DESTDIR}/usr/share/applications || return 1
|
|
|
|
install -m644 ${wrksrc}/browser/branding/unofficial/default48.png \
|
|
|
|
${DESTDIR}/usr/share/pixmaps/firefox.png || return 1
|
|
|
|
}
|