summaryrefslogtreecommitdiff
path: root/extra/gdome2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gdome2/PKGBUILD')
-rw-r--r--extra/gdome2/PKGBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/extra/gdome2/PKGBUILD b/extra/gdome2/PKGBUILD
index 6f97ea5ea..276d4b04e 100644
--- a/extra/gdome2/PKGBUILD
+++ b/extra/gdome2/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=gdome2
pkgver=0.8.1
-pkgrel=4
+pkgrel=4.1
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