summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 01:55:02 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 01:55:02 -0600
commit890fdcbbe55ee0b070dac40f13ae2aa0ce77a0d7 (patch)
tree691b0229b14966574896ca8ae0dafdc01d19f5c7 /testing
parentfc57fec277cad72ddff9012a535f2f672daf7903 (diff)
downloadaports-890fdcbbe55ee0b070dac40f13ae2aa0ce77a0d7.tar.bz2
aports-890fdcbbe55ee0b070dac40f13ae2aa0ce77a0d7.tar.xz
testing/xulrunner: don't clobber /usr/lib/libxul.so in xulrunner-dev, we actually need that symlink.
Diffstat (limited to 'testing')
-rw-r--r--testing/xulrunner/APKBUILD12
1 files changed, 11 insertions, 1 deletions
diff --git a/testing/xulrunner/APKBUILD b/testing/xulrunner/APKBUILD
index b9a46dd3e..0a46ff75a 100644
--- a/testing/xulrunner/APKBUILD
+++ b/testing/xulrunner/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xulrunner
pkgver=1.9.2.13
-pkgrel=3
+pkgrel=4
pkgdesc="runtime environment for xul-based applications"
url="http://developer.mozilla.org/en/XULRunner"
arch="all"
@@ -87,11 +87,21 @@ package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
+ msg "Setting up compatibility symlinks..."
ln -sf /usr/lib/xulrunner-${_xulrunner_version}/libxul.so "${pkgdir}"/usr/lib/libxul.so
ln -sf /usr/lib/xulrunner-${_xulrunner_version}/libxpcom.so "${pkgdir}"/usr/lib/libxpcom.so
ln -sf /usr/lib/xulrunner-${_xulrunner_version}/libmozjs.so "${pkgdir}"/usr/lib/libmozjs.so
}
+dev() {
+ replaces="xulrunner"
+
+ mkdir -p "${subpkgdir}"/usr/lib
+ mv "${pkgdir}"/usr/lib/xulrunner-devel-${_xulrunner_version} "${subpkgdir}"/usr/lib
+ mv "${pkgdir}"/usr/lib/pkgconfig "${subpkgdir}"/usr/lib
+ mv "${pkgdir}"/usr/include "${subpkgdir}"/usr/include
+}
+
md5sums="211464d0b19b21ce0db63f7bd6549466 xulrunner-1.9.2.13.source.tar.bz2
a2d246e51e0df2cb5ff050b7b14b2c52 mozconfig
faecc31fd371db93311109117f6bcc40 enable-x86_64-tracemonkey.patch