df8da33f18
--HG-- extra : convert_revision : d91aa677bbe34aa8f549a05d5ac54fa21300afdf
46 lines
2 KiB
Text
46 lines
2 KiB
Text
# Template build file for 'firefox'.
|
|
pkgname=firefox
|
|
version=3.5.6
|
|
wrksrc=mozilla-1.9.1
|
|
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
|
build_style=gnu_configure
|
|
configure_args="--enable-application=browser --enable-default-toolkit=cairo-gtk2
|
|
--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"
|
|
short_desc="Lightweight gecko-based web browser"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
checksum=60462020c1935702cf87928a886778b3b52e73b0121a8264630b72d370ea3fd1
|
|
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."
|
|
|
|
Add_dependency run libstdc++
|
|
Add_dependency run gtk+
|
|
Add_dependency run xulrunner
|
|
Add_dependency build zip
|
|
Add_dependency build python
|
|
Add_dependency build gtk+-devel
|
|
Add_dependency build xulrunner-devel
|
|
|
|
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
|
|
}
|