From 205962bf7509f619456f07b50f5fb85b08a2f4b6 Mon Sep 17 00:00:00 2001 From: Egor00f Date: Fri, 8 Nov 2024 11:31:31 +0000 Subject: [PATCH] create deb package --- .gitignore | 4 +++- .vscode/settings.json | 3 ++- build-package.sh | 4 ++++ package/DEBIAN/control | 11 +++++++++++ package/DEBIAN/postrm | 2 ++ 5 files changed, 22 insertions(+), 2 deletions(-) create mode 100755 build-package.sh create mode 100644 package/DEBIAN/control create mode 100755 package/DEBIAN/postrm diff --git a/.gitignore b/.gitignore index d351402..50b5b4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -Output/ \ No newline at end of file +Output/ +package/DEBIAN/postinst +package.deb diff --git a/.vscode/settings.json b/.vscode/settings.json index c0f3e4c..6418f2d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,6 +4,7 @@ "тулчейн", "тулчейна", "msys", - "kolibrios" + "kolibrios", + "Egor" ] } \ No newline at end of file diff --git a/build-package.sh b/build-package.sh new file mode 100755 index 0000000..b95806a --- /dev/null +++ b/build-package.sh @@ -0,0 +1,4 @@ + +cp -f install.sh package/DEBIAN/postinst + +dpkg-deb --build ./package diff --git a/package/DEBIAN/control b/package/DEBIAN/control new file mode 100644 index 0000000..143924f --- /dev/null +++ b/package/DEBIAN/control @@ -0,0 +1,11 @@ +Package: kos32-gcc +Version: 0.1 +Architecture: all +Section: devel +Description: KolibriOS gcc toolchain +Depends: libc6-i386:amd64, libmpc3:amd64 +Pre-Depends: p7zip, wget +Recommends: fasm +Priority: optional +Origin: https://github.com/Egor00f/kolibrios-gcc-toolchain, +Maintainer: Egor00f diff --git a/package/DEBIAN/postrm b/package/DEBIAN/postrm new file mode 100755 index 0000000..b340d69 --- /dev/null +++ b/package/DEBIAN/postrm @@ -0,0 +1,2 @@ + +rm -R /home/autobuild/tools/win32