This commit is contained in:
geos_one 2025-08-08 13:21:25 +02:00
parent f1689a94b0
commit eae5561113

28
debian/rules vendored
View File

@ -7,21 +7,21 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
%: %:
dh $@ --buildsystem=cmake dh $@ --buildsystem=cmake
override_dh_auto_configure: configure_config #override_dh_auto_configure: configure_config
override_dh_auto_clean: #override_dh_auto_clean:
rm -fr Makefile* usr bin tmp src/bin/BuiltHamcoreFiles # rm -fr Makefile* usr bin tmp src/bin/BuiltHamcoreFiles
override_dh_auto_install: #override_dh_auto_install:
patch -f < debian/makefile.patch # patch -f < debian/makefile.patch
mkdir -p usr/bin # mkdir -p usr/bin
make install # make install
configure_config: #configure_config:
if [ $(shell uname -m) = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi # if [ $(shell uname -m) = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ $(shell uname -m) = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi # if [ $(shell uname -m) = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi
if [ $(shell uname -m) = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi # if [ $(shell uname -m) = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi
if [ $(shell uname -m) = 'armv5tel' ]; then echo -e "1\n1\n" | ./configure; fi # if [ $(shell uname -m) = 'armv5tel' ]; then echo -e "1\n1\n" | ./configure; fi
if [ $(shell uname -m) = 'aarch64' ]; then echo -e "1\n2\n" | ./configure; fi # if [ $(shell uname -m) = 'aarch64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ $(shell uname -m) = 'armv7l' ]; then echo -e "1\n1\n" | ./configure; fi # if [ $(shell uname -m) = 'armv7l' ]; then echo -e "1\n1\n" | ./configure; fi