mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
APT update / Submodule updates / added updateHyperionUser script again (#1366)
* Test new APT builds * test build * final changes for bookworm and jammy * - Include updateHyperionUser script again - Update package dependencies for APT builds * Installation guide updated * Removed alpha notes and added arm64 APT builds * update docker-compile script * Overwrite CMAKE_SYSTEM_PROCESSOR on Windows builds
This commit is contained in:
32
debian/rules
vendored
32
debian/rules
vendored
@@ -1,32 +0,0 @@
|
||||
#!/usr/bin/make -f
|
||||
export DH_VERBOSE = 1
|
||||
|
||||
BUILDDIR = build
|
||||
|
||||
build:
|
||||
mkdir $(BUILDDIR);
|
||||
cd $(BUILDDIR); cmake -DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../debian/tmp/usr ..
|
||||
make -j4 -C $(BUILDDIR)
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
|
||||
binary-indep:
|
||||
|
||||
binary-arch:
|
||||
cd $(BUILDDIR); cmake -P cmake_install.cmake
|
||||
rm -rf debian/tmp/usr/include debian/tmp/usr/lib debian/tmp/usr/bin/flatc
|
||||
mkdir debian/tmp/DEBIAN
|
||||
cp cmake/package-scripts/postinst debian/tmp/DEBIAN
|
||||
chmod 0775 debian/tmp/DEBIAN/postinst
|
||||
cp cmake/package-scripts/preinst debian/tmp/DEBIAN
|
||||
chmod 0775 debian/tmp/DEBIAN/preinst
|
||||
cp cmake/package-scripts/prerm debian/tmp/DEBIAN
|
||||
chmod 0775 debian/tmp/DEBIAN/prerm
|
||||
dpkg-gencontrol -phyperion
|
||||
dpkg --build debian/tmp ..
|
||||
rm -rf debian/tmp $(BUILDDIR)
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILDDIR)
|
||||
|
||||
.PHONY: build binary binary-arch binary-indep clean
|
Reference in New Issue
Block a user