eglibc: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 17:39:51 +02:00
parent b2edbe17c5
commit d41913e22e
2 changed files with 8 additions and 3 deletions

View file

@ -11,8 +11,8 @@ long_desc="
do_install() {
vmove usr/sbin/nscd usr/sbin
vinstall ${FILESDIR}/nscd.service 644 lib/systemd/system
vinstall ${FILESDIR}/nscd.socket 644 lib/systemd/system
vinstall ${FILESDIR}/nscd.service 644 usr/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.conf 644 etc
vinstall ${FILESDIR}/nscd.logrotate 644 etc/logrotate.d nscd

View file

@ -3,7 +3,7 @@ pkgname=eglibc
_distver="2.15.1"
_datesvn="20120525"
version="${_distver}.${_datesvn}"
revision=1
revision=2
wrksrc="eglibc-${_distver}_${_datesvn}"
depends="base-files eglibc-locales>=$version"
makedepends="bison perl"
@ -85,4 +85,9 @@ do_install() {
/usr/lib/gconv/gconv-modules; do
echo "# $pkgname-$version" >> ${DESTDIR}${f}
done
# Switch to /usr.
vmkdir usr/sbin
vmove "lib/*" usr/lib
vmove "sbin/*" usr/sbin
}