summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 16:14:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 16:14:47 +0000
commita1456df0f95596ce0ea3b9a5ce1e8b06a2a7bea3 (patch)
treea5d86b09afe0546300d4b616a709128a9fd63007 /debian/rules
parentAdding upstream version 1.35.1-230912. (diff)
downloadsupermicro-ipmicfg-progress-linux.tar.xz
supermicro-ipmicfg-progress-linux.zip
Adding progress-linux version 1.35.1-230912-0progress7.99u1.HEADprogress-linux/1.35.1-230912-0progress7.99u1progress-linux
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules37
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c3f1a09
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+
+ifeq ($(DEB_HOST_ARCH),amd64)
+DIRECTORY := 64bit
+endif
+
+ifeq ($(DEB_HOST_ARCH),i386)
+DIRECTORY := 32bit
+endif
+
+%:
+ dh ${@}
+
+execute_after_dh_auto_clean:
+ rm -rf build
+
+override_dh_auto_build:
+ mkdir -p build
+ unzip IPMICFG*.zip -d build
+
+override_dh_auto_install:
+ mkdir -p debian/supermicro-ipmicfg/usr/bin
+ cp -a build/*/Linux/$(DIRECTORY)/IPMICFG-Linux.* debian/supermicro-ipmicfg/usr/bin/supermicro-ipmicfg
+
+override_dh_installchangelogs:
+ dh_installchangelogs build/*/ReleaseNotes.txt
+
+override_dh_dwz:
+ # disabled
+
+override_dh_strip:
+ # disabled
+
+override_dh_strip_nondeterminism:
+ # disabled