linux-firmware: use vmkdir/vcopy.

This commit is contained in:
Juan RP 2012-01-24 11:48:52 +01:00
parent 03402cd0de
commit 336adda102
1 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@ do_fetch() {
}
do_install() {
install -d ${DESTDIR}/lib/firmware
install -d ${DESTDIR}/usr/share/licenses/${pkgname}
cp -a * ${DESTDIR}/lib/firmware
vmkdir lib/firmware
vmkdir usr/share/licenses/${pkgname}
vcopy "*" lib/firmware
rm -f ${DESTDIR}/lib/firmware/GPL{,-3}
mv ${DESTDIR}/lib/firmware/{LICEN*,WHENCE} \
${DESTDIR}/usr/share/licenses/${pkgname}