summaryrefslogtreecommitdiff
path: root/community/apcupsd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/apcupsd/PKGBUILD')
-rw-r--r--community/apcupsd/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/apcupsd/PKGBUILD b/community/apcupsd/PKGBUILD
index 26336fecb..129a0263a 100644
--- a/community/apcupsd/PKGBUILD
+++ b/community/apcupsd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=apcupsd
pkgver=3.14.10
pkgrel=3
pkgdesc="Power mangement and controlling most of APC's UPS models"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.apcupsd.org"
license=('GPL')
depends=('gcc-libs')
@@ -28,7 +28,7 @@ sha256sums=('0707b5ec9916fbde9e44eb8d18037c8d8f75dfd6aeef51aba5487e189eef2032'
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname \
+ ./configure --prefix=/usr --build=$CHOST --libexecdir=/usr/lib/$pkgname \
--enable-cgi --enable-usb --enable-net \
--with-upstype=usb --with-upscable=usb \
--with-serial-dev=/dev/usb/hid/hiddev[0-9] \
@@ -45,4 +45,4 @@ package() {
chmod 755 "$pkgdir"/sbin/*
install -dm755 "$pkgdir/usr/lib/$pkgname/cgi-bin"
mv "$pkgdir"/etc/apcupsd/*.cgi "$pkgdir/usr/lib/$pkgname/cgi-bin"
-} \ No newline at end of file
+}