eglibc: switch to /usr.
This commit is contained in:
parent
b2edbe17c5
commit
d41913e22e
2 changed files with 8 additions and 3 deletions
|
@ -11,8 +11,8 @@ long_desc="
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/sbin/nscd usr/sbin
|
vmove usr/sbin/nscd usr/sbin
|
||||||
vinstall ${FILESDIR}/nscd.service 644 lib/systemd/system
|
vinstall ${FILESDIR}/nscd.service 644 usr/lib/systemd/system
|
||||||
vinstall ${FILESDIR}/nscd.socket 644 lib/systemd/system
|
vinstall ${FILESDIR}/nscd.socket 644 usr/lib/systemd/system
|
||||||
vinstall ${FILESDIR}/nscd.tmpfiles.d 644 usr/lib/tmpfiles.d nscd.conf
|
vinstall ${FILESDIR}/nscd.tmpfiles.d 644 usr/lib/tmpfiles.d nscd.conf
|
||||||
vinstall ${FILESDIR}/nscd.conf 644 etc
|
vinstall ${FILESDIR}/nscd.conf 644 etc
|
||||||
vinstall ${FILESDIR}/nscd.logrotate 644 etc/logrotate.d nscd
|
vinstall ${FILESDIR}/nscd.logrotate 644 etc/logrotate.d nscd
|
||||||
|
|
|
@ -3,7 +3,7 @@ pkgname=eglibc
|
||||||
_distver="2.15.1"
|
_distver="2.15.1"
|
||||||
_datesvn="20120525"
|
_datesvn="20120525"
|
||||||
version="${_distver}.${_datesvn}"
|
version="${_distver}.${_datesvn}"
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="eglibc-${_distver}_${_datesvn}"
|
wrksrc="eglibc-${_distver}_${_datesvn}"
|
||||||
depends="base-files eglibc-locales>=$version"
|
depends="base-files eglibc-locales>=$version"
|
||||||
makedepends="bison perl"
|
makedepends="bison perl"
|
||||||
|
@ -85,4 +85,9 @@ do_install() {
|
||||||
/usr/lib/gconv/gconv-modules; do
|
/usr/lib/gconv/gconv-modules; do
|
||||||
echo "# $pkgname-$version" >> ${DESTDIR}${f}
|
echo "# $pkgname-$version" >> ${DESTDIR}${f}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Switch to /usr.
|
||||||
|
vmkdir usr/sbin
|
||||||
|
vmove "lib/*" usr/lib
|
||||||
|
vmove "sbin/*" usr/sbin
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue