summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-23 00:55:39 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-23 00:55:39 -0500
commit5a29597f9a6e2f4b2035a112545792cc48ad7979 (patch)
tree69028859b099d30c8b0bc8d20b8354a8c8061663 /libre
parentf1f98b97552c5691d3299f75285305cc4f20b31c (diff)
downloadabslibre-5a29597f9a6e2f4b2035a112545792cc48ad7979.tar.gz
abslibre-5a29597f9a6e2f4b2035a112545792cc48ad7979.tar.bz2
abslibre-5a29597f9a6e2f4b2035a112545792cc48ad7979.zip
systemd: armv7h port
Diffstat (limited to 'libre')
-rw-r--r--libre/systemd/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/libre/systemd/PKGBUILD b/libre/systemd/PKGBUILD
index dff535123..9f808e2c1 100644
--- a/libre/systemd/PKGBUILD
+++ b/libre/systemd/PKGBUILD
@@ -6,12 +6,13 @@ pkgbase=systemd
pkgname=systemd
pkgver=226
pkgrel=1.parabola1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h')
url="http://www.freedesktop.org/wiki/Software/systemd"
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam'
'intltool' 'iptables' 'kmod' 'libcap' 'libidn' 'libgcrypt'
'libmicrohttpd' 'libxslt' 'util-linux' 'linux-libre-api-headers'
- 'python-lxml' 'quota-tools' 'shadow' 'gnu-efi-libs' 'git')
+ 'python-lxml' 'quota-tools' 'shadow' 'git')
+[ "$CARCH" != "armv7h" ] && makedepends+=('gnu-efi-libs')
options=('strip' 'debug')
source=("git://github.com/systemd/systemd.git#tag=v$pkgver"
"https://repo.parabola.nu/other/systemd/splash-parabola.bmp"
@@ -50,19 +51,21 @@ build() {
local timeservers=({0..3}.arch.pool.ntp.org)
+ [ "$CARCH" != "armv7h" ] && extra=--enable-gnuefi
+
./configure \
--libexecdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--enable-lz4 \
--enable-compat-libs \
- --enable-gnuefi \
--disable-audit \
--disable-ima \
--disable-kdbus \
--with-sysvinit-path= \
--with-sysvrcnd-path= \
- --with-ntp-servers="${timeservers[*]}"
+ --with-ntp-servers="${timeservers[*]}" \
+ $extra
make
}