void-packages/srcpkgs/firefox/template

57 lines
2.3 KiB
Plaintext
Raw Normal View History

# Template build file for 'firefox'.
pkgname=firefox
2010-12-13 02:12:07 +01:00
version=3.6.13
_libxul_sdkver=1.9.2
wrksrc=mozilla-${_libxul_sdkver}
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 --disable-notify
--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-${_libxul_sdkver}"
short_desc="Lightweight gecko-based web browser"
maintainer="Juan RP <xtraeme@gmail.com>"
2010-12-13 02:12:07 +01:00
checksum=4b90775c0f29cb7e170a80894311d8c7a2cd794c50e2124b70d1b83011c45f63
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 glibc
Add_dependency run libstdc++
2010-10-29 11:22:43 +02:00
Add_dependency run glib
Add_dependency run nspr
2010-10-24 11:54:00 +02:00
Add_dependency run gdk-pixbuf
Add_dependency run gtk+
2010-10-29 11:22:43 +02:00
Add_dependency run xulrunner
Add_dependency build zip
Add_dependency build perl
Add_dependency build python
Add_dependency build glibc-devel
Add_dependency build libstdc++-devel
Add_dependency build xulrunner-devel
Add_dependency build nspr-devel
Add_dependency build gtk+-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
}