xulrunner: New port.
This commit is contained in:
parent
837656bf60
commit
dd2a5e865d
3516
xulrunner/.footprint
Normal file
3516
xulrunner/.footprint
Normal file
File diff suppressed because it is too large
Load Diff
2
xulrunner/.md5sum
Normal file
2
xulrunner/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
f2c23b7bdb8157cb922f222e69d8e810 mozconfig
|
||||
3494ac7baf8047dc3a4f1a4b4ba9ca0c xulrunner-1.8.1.13-source.tar.bz2
|
35
xulrunner/Pkgfile
Normal file
35
xulrunner/Pkgfile
Normal file
@ -0,0 +1,35 @@
|
||||
# Description: Mozilla Web Browser Component
|
||||
# URL: http://www.mozilla.com/firefox/
|
||||
# Packager: Matt Housh, jaeger at crux dot nu
|
||||
# Maintainer: Brett Goulder, predatorfreak at dcaf-security dot org.
|
||||
# Depends on: libidl, gtk, dbus-glib, sqlite3, perl, python
|
||||
|
||||
name=xulrunner
|
||||
version=1.8.1.13
|
||||
release=1
|
||||
source=(http://gentoo.chem.wisc.edu/gentoo/distfiles/$name-$version-source.tar.bz2 \
|
||||
mozconfig)
|
||||
|
||||
build() {
|
||||
export MOZ_CO_PROJECT="xulrunner"
|
||||
export XCFLAGS="$CFLAGS"
|
||||
|
||||
cd mozilla
|
||||
sed -e "s/#CFLAGS#/$CFLAGS/g" -e "s/#MAKEFLAGS#/$MAKEFLAGS/g" $SRC/mozconfig > .mozconfig
|
||||
make -f client.mk configure
|
||||
make -f client.mk build
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
# Move directories
|
||||
mv $PKG/usr/lib/$name-$version $PKG/usr/lib/$name
|
||||
mv $PKG/usr/share/idl/$name-$version $PKG/usr/share/idl/$name
|
||||
mv $PKG/usr/include/$name-$version $PKG/usr/include/$name
|
||||
|
||||
# Fix paths
|
||||
sed -i -e "s/-$version//g" $PKG/usr/bin/$name
|
||||
|
||||
sed -i -e "s:/usr/lib/$name-$version:/usr/lib/$name:" \
|
||||
-e "s:/usr/include/$name-$version:/usr/include/$name:" \
|
||||
-e "s:/usr/share/idl/$name-$version:/usr/share/idl/$name:" \
|
||||
$PKG/usr/lib/pkgconfig/*.pc
|
||||
}
|
33
xulrunner/mozconfig
Normal file
33
xulrunner/mozconfig
Normal file
@ -0,0 +1,33 @@
|
||||
. $topsrcdir/xulrunner/config/mozconfig
|
||||
|
||||
mk_add_options MOZ_MAKE_FLAGS="#MAKEFLAGS#"
|
||||
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner
|
||||
ac_add_options --with-system-jpeg
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --with-system-bz2
|
||||
ac_add_options --with-pthreads
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-installer
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-xprint
|
||||
ac_add_options --disable-profilesharing
|
||||
ac_add_options --disable-gnomevfs
|
||||
ac_add_options --disable-javaxpcom
|
||||
ac_add_options --disable-static
|
||||
ac_add_options --enable-optimize="#CFLAGS#"
|
||||
ac_add_options --enable-default-toolkit=gtk2
|
||||
ac_add_options --enable-extensions=default,-gnomevfs
|
||||
ac_add_options --enable-xpctools
|
||||
ac_add_options --enable-jemalloc
|
||||
ac_add_options --enable-xft
|
||||
ac_add_options --enable-pango
|
||||
ac_add_options --enable-system-cairo
|
||||
ac_add_options --enable-system-sqlite
|
||||
ac_add_options --enable-svg
|
||||
ac_add_options --enable-canvas
|
||||
ac_add_options --enable-crypto
|
||||
ac_add_options --enable-single-profile
|
||||
ac_add_options --enable-shared
|
Loading…
x
Reference in New Issue
Block a user