aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-15 12:57:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-15 14:32:38 +0000
commit0c96f83bef7f3cf30ffab693dd90126bb87e8ce1 (patch)
tree237d806ec5f037cd89ba8cb4658d52124533e4b6 /main/xulrunner/APKBUILD
parenta50fdbd9146b48006f82f69422e9c475d52a14d6 (diff)
downloadaports-0c96f83bef7f3cf30ffab693dd90126bb87e8ce1.tar.bz2
aports-0c96f83bef7f3cf30ffab693dd90126bb87e8ce1.tar.xz
main/xulrunner: upgrade to 6.0
Diffstat (limited to 'main/xulrunner/APKBUILD')
-rw-r--r--main/xulrunner/APKBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/main/xulrunner/APKBUILD b/main/xulrunner/APKBUILD
index c33e79cc3f..03ddc34a8d 100644
--- a/main/xulrunner/APKBUILD
+++ b/main/xulrunner/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xulrunner
-pkgver=5.0.1
-_ffoxver=5.0.1
+pkgver=6.0
+_ffoxver=6.0
pkgrel=0
pkgdesc="runtime environment for xul-based applications"
url="http://developer.mozilla.org/en/XULRunner"
@@ -55,8 +55,7 @@ source="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}
mozjs-c99math.patch
xpcom-c99math.patch
-
- mozilla-bsdiff-libbz2.patch"
+ "
_builddir="${srcdir}/mozilla-release"
prepare() {
@@ -88,6 +87,11 @@ package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" -f client.mk install || return 1
+ # make install does not install xpt.py but its needed by firefox
+ mkdir -p "$pkgdir"/usr/lib/xulrunner-devel-$pkgver/sdk/bin
+ cp xpcom/typelib/xpt/tools/xpt.py \
+ "$pkgdir"/usr/lib/xulrunner-devel-$pkgver/sdk/bin/
+
msg "Setting up compatibility symlinks..."
ln -sf /usr/lib/xulrunner-${pkgver}/libxul.so "${pkgdir}"/usr/lib/libxul.so
ln -sf /usr/lib/xulrunner-${pkgver}/libxpcom.so "${pkgdir}"/usr/lib/libxpcom.so
@@ -96,6 +100,7 @@ package() {
dev() {
replaces="xulrunner"
+ depends="xulrunner"
mkdir -p "${subpkgdir}"/usr/lib
mv "${pkgdir}"/usr/lib/xulrunner-devel-${pkgver} "${subpkgdir}"/usr/lib
@@ -103,12 +108,11 @@ dev() {
mv "${pkgdir}"/usr/include "${subpkgdir}"/usr/include
}
-md5sums="6d1f43e402cec84459a3d7f950bd5192 firefox-5.0.1.source.tar.bz2
+md5sums="1840185865a1a8975df4a3db59080ddc firefox-6.0.source.tar.bz2
cc43a2bd96bd2395aa72d0bbb88e5594 mozconfig
86d33a17286131d9ef4cdfb35ee56f1f fix-xulrunner-launcher.patch
02c23dc4ebd88e445533314716331818 mozilla-pkgconfig.patch
30053b8b5811cc0676bfe7d7d7ffaa4a xulrunner-jemalloc-aslr.patch
d38ecbb7bb31032d3e1ced8939e26abd xulrunner-mozalloc.patch
-b187440207e773e9be606594d2c99216 mozjs-c99math.patch
-128d37fab6fbcb1d0b994e8023e701e0 xpcom-c99math.patch
-88c5b4db4e7910b7b99cdee96847c13d mozilla-bsdiff-libbz2.patch"
+abbef7f783ad5d99a9cdbf9e358fafcd mozjs-c99math.patch
+68709c9aad5b7e46e63787fc648d7ae7 xpcom-c99math.patch"