mdadm: move to usr/bin.
This commit is contained in:
parent
7dd3bcbe09
commit
9325ed2e44
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mdadm'
|
||||
pkgname=mdadm
|
||||
version=3.3.2
|
||||
revision=6
|
||||
revision=7
|
||||
build_pie=yes
|
||||
build_options="systemd"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -17,12 +17,12 @@ pre_configure() {
|
|||
sed -i 's,^install : mdadm mdmon,install: ,g' Makefile
|
||||
}
|
||||
do_build() {
|
||||
make CC=$CC CFLAGS="$CFLAGS -Wno-error" LDFLAGS="$LDFLAGS" ${makejobs}
|
||||
make CC=$CC CFLAGS="$CFLAGS -Wno-error" BINDIR=/usr/bin LDFLAGS="$LDFLAGS" ${makejobs}
|
||||
}
|
||||
do_install() {
|
||||
make BINDIR=/usr/sbin STRIP= PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
make BINDIR=/usr/bin STRIP= PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
if [ "$build_option_systemd" ]; then
|
||||
make BINDIR=/usr/sbin STRIP= PREFIX=/usr \
|
||||
make BINDIR=/usr/bin STRIP= PREFIX=/usr \
|
||||
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install-systemd
|
||||
else
|
||||
vsv mdadm
|
||||
|
|
Loading…
Reference in a new issue