add wrapper to trick 2.6 kernel

This commit is contained in:
Mario Fetka
2017-11-11 03:29:22 +01:00
parent b28fe30370
commit 67bc9dc2a5
4 changed files with 18 additions and 5 deletions

10
debian/rules vendored
View File

@@ -22,14 +22,18 @@ install: build
dh_installdirs
# Install data
ifeq ($(DEB_BUILD_ARCH),amd64)
install -m 755 $(CURDIR)/amd64/3dm2.x86_64 \
$(DESTDIR)/usr/sbin/3dm2
install -D -m 0755 $(CURDIR)/debian/3dm2.wrapper64 \
$(DESTDIR)/usr/sbin/3dm2
install -D -m 0755 $(CURDIR)/amd64/3dm2.x86_64 \
$(DESTDIR)/usr/lib/3dm2/3dm2.real
install -m 600 $(CURDIR)/amd64/3dm2.conf \
$(DESTDIR)/etc/3dm2/3dm2.conf
endif
ifeq ($(DEB_BUILD_ARCH),i386)
install -m 755 $(CURDIR)/i386/3dm2.x86 \
install -D -m 0755 $(CURDIR)/debian/3dm2.wrapper32 \
$(DESTDIR)/usr/sbin/3dm2
install -D -m 0755 $(CURDIR)/i386/3dm2.x86 \
$(DESTDIR)/usr/lib/3dm2/3dm2.real
install -m 600 $(CURDIR)/i386/3dm2.conf \
$(DESTDIR)/etc/3dm2/3dm2.conf
endif