virtualbox: Updated 1.6.0 -> 1.6.2

This commit is contained in:
Jose V Beneyto 2008-06-20 15:34:46 +02:00
parent 0146ae6d04
commit b7749b81d0
3 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,4 @@
2a2724088f65d0a373a689209bb4d938 60-vboxdrv.rules
44692aa0e7a8cb6bb36f367d67d78d6a VirtualBox-1.6.0-OSE.tar.bz2
0372a3a31326078f7849a0467d547a70 VirtualBox-1.6.2-OSE.tar.bz2
d365878a0f2f0a738a093a6bc48293be virtualbox
362e923d42651f370561b0f9095ea7a5 virtualbox.desktop

View File

@ -5,12 +5,12 @@
# Depends on: bin86,dev86,xorg-libxcursor,hal,libsdl,libidl,qt3,xalan-c,iasl
name=virtualbox
version=1.6.0
version=1.6.2
release=1
source=(VirtualBox-${version}-OSE.tar.bz2 $name 60-vboxdrv.rules $name.desktop)
source=(VirtualBox-$version-OSE.tar.bz2 $name 60-vboxdrv.rules $name.desktop)
build() {
cd VirtualBox-${version}_OSE
cd VirtualBox-$version
# compile
./configure --with-qt-dir=/usr/share/qt \
--disable-pulse
@ -22,14 +22,14 @@ build() {
# install kernel module
install -D -m 0644 vboxdrv.ko $PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxdrv.ko
# remove superfluous files
rm -rf $SRC/VirtualBox-${version}_OSE/out/linux.x86/release/bin/{src,sdk/samples,testcase} \
$SRC/VirtualBox-${version}_OSE/out/linux.x86/release/bin/{vboxdrv.ko,additions/src,nls}
find $SRC/VirtualBox-${version}_OSE/out/linux.x86/release/bin -type f -name 'tst*' -exec rm -rf {} \;
rm -rf $SRC/VirtualBox-$version/out/linux.x86/release/bin/{src,sdk/samples,testcase} \
$SRC/VirtualBox-$version/out/linux.x86/release/bin/{vboxdrv.ko,additions/src,nls}
find $SRC/VirtualBox-$version/out/linux.x86/release/bin -type f -name 'tst*' -exec rm -rf {} \;
# do the rest
install -D -m 0644 $SRC/60-vboxdrv.rules $PKG/etc/udev/rules.d/60-vboxdrv.rules
install -d $PKG/usr/{bin,share/$name,share/pixmaps}
install -m 0755 $SRC/${name} $PKG/usr/bin/$name
mv $SRC/VirtualBox-${version}_OSE/out/linux.x86/release/{bin,lib} $PKG/usr/share/$name
install -m 0755 $SRC/$name $PKG/usr/bin/$name
mv $SRC/VirtualBox-$version/out/linux.x86/release/{bin,lib} $PKG/usr/share/$name
install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
mv $PKG/usr/share/$name/bin/VBox.png $PKG/usr/share/pixmaps/$name.png
rm $PKG/usr/share/$name/bin/{VBox.sh,SUP*nstall}

View File

@ -5,6 +5,7 @@ GETTING SOURES
Download sources manually from
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=innotek-1.6-src-G-F@CDS-CDS_SMI
REQUIREMENTS
Kernel headers needed for build 'vboxdrv.ko' kernel module.