Changeset 44969 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Mar 11, 2013 9:34:35 AM (12 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/debian/dirs
r32008 r44969 3 3 /etc/init.d 4 4 /usr/src 5 /usr/lib/virtualbox -
trunk/src/VBox/Installer/linux/debian/rules
r44944 r44969 209 209 dh_installdirs 210 210 tar -xjC $(prefix)/opt -f $(builddir)/bin/VirtualBox.tar.bz2 211 install -d -g 0 -o 0 $(prefix)/usr/share/applications212 install -d -g 0 -o 0 $(prefix)/usr/lib213 install -d -g 0 -o 0 $(prefix)/usr/bin214 install -d -g 0 -o 0 $(prefix)/usr/lib/$(package)215 install -d -g 0 -o 0 $(prefix)/usr/share/$(package)211 $(if $(NOQT),,mv $(archdir)/virtualbox.xml debian/$(verpkg).sharedmimeinfo) 212 $(archdir)/scripts/install.sh --package $(package) --root $(prefix) \ 213 --prefix /usr $(if $(NOQT),--no-qt) $(if $(ose),--ose) \ 214 $(if $(HEADLESS),--headless) $(if $(NOWEBSVC),--no-web-service) \ 215 --install-folder /lib/$(package) --no-helpers 216 216 install -d -g 0 -o 0 $(prefix)/usr/share/doc/$(verpkg) 217 $(if $(NOQT),,mv $(archdir)/virtualbox.desktop \218 $(prefix)/usr/share/applications/virtualbox.desktop)219 install -d -g 0 -o 0 $(prefix)/usr/share/pixmaps220 $(if $(NOQT),,install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor)221 $(if $(NOQT),,cp $(archdir)/icons/128x128/virtualbox.png \222 $(prefix)/usr/share/pixmaps/virtualbox.png)223 $(if $(NOQT),,cd $(archdir)/icons; for i in *; do \224 if [ -f $$i/virtualbox.png ]; then \225 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/apps; \226 mv $$i/virtualbox.png $(prefix)/usr/share/icons/hicolor/$$i/apps; \227 fi; \228 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/mimetypes; \229 mv $$i/* $(prefix)/usr/share/icons/hicolor/$$i/mimetypes || true; \230 rmdir $$i; \231 done)232 $(if $(NOQT),,rmdir $(archdir)/icons)233 install -d -g 0 -o 0 $(prefix)/usr/lib/$(package)/ExtensionPacks234 $(if $(NOQT),,mv $(archdir)/virtualbox.xml debian/$(verpkg).sharedmimeinfo)235 217 install -d -g 0 -o 0 $(prefix)/usr/share/lintian/overrides 236 218 sed \ … … 238 220 debian/lintian-override.in > \ 239 221 $(prefix)/usr/share/lintian/overrides/$(verpkg) 240 mv $(archdir)/VBoxEFI32.fd $(prefix)/usr/lib/$(package)241 mv $(archdir)/VBoxEFI64.fd $(prefix)/usr/lib/$(package)242 mv $(archdir)/VBox.png \243 $(prefix)/usr/share/pixmaps/VBox.png244 mv $(archdir)/*.gc $(prefix)/usr/lib/$(package)245 mv $(archdir)/*.r0 $(prefix)/usr/lib/$(package)246 mv $(archdir)/*.rel $(prefix)/usr/lib/$(package) || true247 mv $(archdir)/VBoxNetDHCP $(prefix)/usr/lib/$(package)248 mv $(archdir)/VBoxNetAdpCtl $(prefix)/usr/lib/$(package)249 if [ -f $(archdir)/VBoxVolInfo ]; then \250 mv $(archdir)/VBoxVolInfo $(prefix)/usr/lib/$(package); \251 fi252 mv $(archdir)/VBoxXPCOMIPCD $(prefix)/usr/lib/$(package)253 mv $(archdir)/components $(prefix)/usr/lib/$(package)/components254 mv $(archdir)/*.so $(prefix)/usr/lib/$(package)255 mv $(archdir)/*.so.4 $(prefix)/usr/lib/$(package) || true256 $(if $(NOQT),,mv $(archdir)/VBoxTestOGL $(prefix)/usr/lib/$(package))257 $(if $(NOQT),,mv $(archdir)/nls $(prefix)/usr/share/$(package))258 mv $(archdir)/src $(prefix)/usr/share/$(package)259 rm $(archdir)/VBox.sh260 export VBOX_INSTALL_PATH=/usr/lib/$(package) && \261 cd $(builddir)/bin/sdk/installer && \262 python ./vboxapisetup.py install --root $(prefix)263 rm -rf $(archdir)/sdk/installer264 mv $(archdir)/vboxshell.py $(prefix)/usr/lib/$(package)265 mv $(archdir)/sdk $(prefix)/usr/lib/$(package)266 install -D -g 0 -o 0 -m 644 VBox.sh $(prefix)/usr/bin/VBox267 mv $(archdir)/VBoxSysInfo.sh $(prefix)/usr/share/$(package)268 mv $(archdir)/VBoxCreateUSBNode.sh $(prefix)/usr/share/$(package)269 for i in VBoxManage VBoxSVC $(if $(HEADLESS),,VBoxSDL) \270 $(if $(NOQT),,VirtualBox) VBoxHeadless \271 VBoxExtPackHelperApp VBoxBalloonCtrl VBoxAutostart \272 $(if $(NOWEBSVC),,vboxwebsrv webtest); do \273 mv $(archdir)/$$i $(prefix)/usr/lib/$(package); done274 $(if $(VNC),mv $(archdir)/ExtensionPacks/VNC $(prefix)/usr/lib/$(package)/ExtensionPacks,)275 mv $(archdir)/VBoxTunctl $(prefix)/usr/bin276 222 $(if $(NOMODS),,for d in $(moddir)/*; do \ 277 223 if [ -f $$d/vboxdrv.ko -a -f $$d/vboxnetflt.ko -a -f $$d/vboxnetadp.ko -a -f $$d/vboxpci.ko ]; then \ … … 287 233 done) 288 234 ifeq ($(ose),) 289 $(if $(NOQT),,mv $(archdir)/kchmviewer $(prefix)/usr/lib/$(package))290 235 dh_installdocs \ 291 236 $(archdir)/UserManual*.pdf $(archdir)/VirtualBox*.chm \ … … 293 238 rm $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.chm \ 294 239 LICENSE) 295 for i in rdesktop-vrdp.tar.gz additions/VBoxGuestAdditions.iso; do \296 mv $(archdir)/$$i $(prefix)/usr/share/$(package); done297 $(if $(HEADLESS),,mv $(archdir)/rdesktop-vrdp $(prefix)/usr/bin)298 $(if $(HEADLESS),,mv $(archdir)/rdesktop-vrdp-keymaps $(prefix)/usr/share/$(package))299 if [ -d $(archdir)/accessible ]; then mv $(archdir)/accessible $(prefix)/usr/lib/virtualbox; fi300 240 else 301 241 dh_installdocs \ 302 242 $(archdir)/UserManual*.pdf 303 243 rm $(addprefix $(archdir)/,UserManual*.pdf) 304 for i in additions/VBoxGuestAdditions.iso; do \ 305 mv $(archdir)/$$i $(prefix)/usr/share/$(package); done 306 endif 307 rmdir $(archdir)/additions 308 $(if $(VNC),rmdir $(archdir)/ExtensionPacks) 309 rm -r $(archdir)/helpers 310 rm -r $(archdir)/scripts 311 rmdir $(archdir) 244 endif 245 mv $(archdir) $(prefix)/usr/lib/$(package) 312 246 rmdir $(prefix)/opt 313 dh_link \314 $(if $(NOQT),,usr/bin/VBox usr/bin/VirtualBox) \315 $(if $(NOQT),,usr/bin/VBox usr/bin/virtualbox) \316 usr/bin/VBox usr/bin/VBoxManage \317 usr/bin/VBox usr/bin/vboxmanage \318 $(if $(HEADLESS),,usr/bin/VBox usr/bin/VBoxSDL) \319 $(if $(HEADLESS),,usr/bin/VBox usr/bin/vboxsdl) \320 $(if $(ose),,usr/bin/VBox usr/bin/VBoxVRDP) \321 usr/bin/VBox usr/bin/VBoxHeadless \322 usr/bin/VBox usr/bin/vboxheadless \323 usr/bin/VBox usr/bin/VBoxBalloonCtrl \324 usr/bin/VBox usr/bin/vboxballoonctrl \325 usr/bin/VBox usr/bin/VBoxAutostart \326 usr/bin/VBox usr/bin/vboxautostart \327 $(if $(NOWEBSVC),,usr/bin/VBox usr/bin/vboxwebsrv) \328 usr/share/virtualbox/src/vboxhost usr/src/vboxhost-$(ver)329 247 dh_desktop 330 248 $(if $(NOMODS),,dh_installmodules)
Note:
See TracChangeset
for help on using the changeset viewer.