summaryrefslogtreecommitdiff
path: root/extra/wipe
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wipe')
-rw-r--r--extra/wipe/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/extra/wipe/PKGBUILD b/extra/wipe/PKGBUILD
index b876b0dca..d7e4b1107 100644
--- a/extra/wipe/PKGBUILD
+++ b/extra/wipe/PKGBUILD
@@ -10,14 +10,15 @@ pkgrel=2
pkgdesc='Secure file wiping utility'
url='http://wipe.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('72aa8bcbeb54deb676ae08af78401132860703de')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
+ cd $srcdir/$pkgname-$pkgver
+ [ "$CARCH" = "mips64el" ] && extra="--build=$CHOST --host=$CHOST --target=$CHOST"
+ ./configure --prefix=/usr --mandir=/usr/share/man $extra
+ make
}
package() {