summaryrefslogtreecommitdiff
path: root/extra/gdome2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gdome2/PKGBUILD')
-rw-r--r--extra/gdome2/PKGBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/extra/gdome2/PKGBUILD b/extra/gdome2/PKGBUILD
index 6f97ea5ea..8f3518327 100644
--- a/extra/gdome2/PKGBUILD
+++ b/extra/gdome2/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.8.1
pkgrel=4
pkgdesc="Gnome DOM Engine"
url="http://gdome2.cs.unibo.it/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libxml2' 'glib2')
options=(!libtool)
@@ -16,10 +16,21 @@ md5sums=('bfc114e59eec50cbda8e4ece751ff022')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man
+ if [ "$CARCH" = mips64el ]; then
+ CFLAGS="$CFLAGS -fpic"
+ CXXFLAGS="$CXXFLAGS -fpic"
+ fi
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --host=${CARCH} --disable-static
make
}
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install