diff options
author | Jose V Beneyto <joberui@ei.upv.es> | 2002-10-26 18:50:41 +0200 |
---|---|---|
committer | Jose V Beneyto <joberui@ei.upv.es> | 2002-10-26 18:50:41 +0200 |
commit | 3a7340af2bd57488f832d7070b0ce96c4baa6b54 (patch) | |
tree | 48fcec22b534e9937d4195ca323f9c0e3ddefc78 /virtualbox | |
parent | 5360b51eab74f4b32d468f4d4809b6e0e911b597 (diff) | |
download | contrib-3a7340af2bd57488f832d7070b0ce96c4baa6b54.tar.gz contrib-3a7340af2bd57488f832d7070b0ce96c4baa6b54.tar.xz |
virtualbox: Updated to 1.5.2
Diffstat (limited to 'virtualbox')
-rw-r--r-- | virtualbox/Pkgfile | 22 | ||||
-rw-r--r-- | virtualbox/virtualbox.desktop | 9 |
2 files changed, 21 insertions, 10 deletions
diff --git a/virtualbox/Pkgfile b/virtualbox/Pkgfile index eb1188fb6..1b23a6439 100644 --- a/virtualbox/Pkgfile +++ b/virtualbox/Pkgfile @@ -5,13 +5,13 @@ # Depends on: bin86,dev86,xorg-libxcursor,hal,libsdl,libidl,qt3,xalan-c,iasl name=virtualbox -version=1.4.0 -release=2 -source=(http://www.virtualbox.org/download/${version}/VirtualBox-OSE-${version}.tar.bz2 \ - ${name} 60-vboxdrv.rules) +version=1.5.2 +release=1 +source=(http://www.virtualbox.org/download/${version}/VirtualBox-${version}_OSE.tar.bz2 \ + ${name} 60-vboxdrv.rules ${name}.desktop) build() { - cd VirtualBox-OSE-${version} + cd VirtualBox-${version}_OSE # compile ./configure --with-qt-dir=/usr/share/qt source ./env.sh @@ -22,12 +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-OSE-${version}/out/linux.x86/release/bin/{src,sdk/samples,testcase} \ - ${SRC}/VirtualBox-OSE-${version}/out/linux.x86/release/bin/{vboxdrv.ko,additions/src,nls} - find ${SRC}/VirtualBox-OSE-${version}/out/linux.x86/release/bin -type f -name 'tst*' -exec rm -rf {} \; + 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 {} \; # 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}} + install -d ${PKG}/usr/{bin,share/${name},share/pixmaps} install -m 0755 ${SRC}/${name} ${PKG}/usr/bin/${name} - mv ${SRC}/VirtualBox-OSE-${version}/out/linux.x86/release/{bin,lib} ${PKG}/usr/share/${name} + mv ${SRC}/VirtualBox-${version}_OSE/out/linux.x86/release/{bin,lib} ${PKG}/usr/share/${name} + install -D -m 0644 ${SRC}/${name}.desktop ${PKG}/usr/share/applications/${name}.desktop + ln -sf /usr/share/virtualbox/bin/Vbox.png ${PKG}/usr/share/pixmaps/${name}.png } diff --git a/virtualbox/virtualbox.desktop b/virtualbox/virtualbox.desktop new file mode 100644 index 000000000..50df0f8c8 --- /dev/null +++ b/virtualbox/virtualbox.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=VirtualBox +Comment=Full virtualizer for x86 hardware +Exec=/usr/bin/virtualbox +Icon=virtualbox.png +Terminal=false +Type=Application +Categories=Emulators; |