diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 12:02:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 12:02:36 +0000 |
commit | e46b1f5c18ce0364e3fb36c5336c4a13055a51da (patch) | |
tree | 5ac54171db73127ab3816509bbf4c5094ba16a70 /debian/rules | |
parent | Adding upstream version 7.0.6-155176. (diff) | |
download | virtualbox-extension-pack-progress-linux.tar.xz virtualbox-extension-pack-progress-linux.zip |
Adding progress-linux version 7.0.6-155176-0progress7u1.HEADprogress-linux/7.0.6-155176-0progress7u1progress-linux
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..95429f4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +PACKAGE := virtualbox-extension-pack +EXTENSION := Oracle_VM_VirtualBox_Extension_Pack + +DESTDIR := debian/$(PACKAGE)/usr/lib/virtualbox/ExtensionPacks/$(EXTENSION) + +VERSION := $(shell dpkg-parsechangelog -SVersion) +VERSION_MAJOR := $(word 1, $(subst -, ,$(VERSION))) + +%: + dh ${@} + +override_dh_auto_install: + mkdir -p $(DESTDIR) + tar xf $(EXTENSION)*.vbox-extpack -C $(DESTDIR) + + rm -rf $(DESTDIR)/darwin.* + rm -rf $(DESTDIR)/linux.x86 + rm -rf $(DESTDIR)/solaris.* + rm -rf $(DESTDIR)/win.* + + grep -Ev '(darwin|linux.x86|solaris|win).' $(DESTDIR)/ExtPack.manifest > $(DESTDIR)/ExtPack.manifest.tmp + mv $(DESTDIR)/ExtPack.manifest.tmp $(DESTDIR)/ExtPack.manifest + +override_dh_gencontrol: + dh_gencontrol -- -Vvirtualbox:Depends="virtualbox (>= $(VERSION_MAJOR))" + +override_dh_dwz: + # disabled + +override_dh_strip: + # disabled + +override_dh_strip_nondeterminism: + # disabled |