create deb package

This commit is contained in:
Егор 2024-11-08 11:31:31 +00:00
parent 0b4ac08d48
commit 205962bf75
5 changed files with 22 additions and 2 deletions

4
.gitignore vendored
View File

@ -1 +1,3 @@
Output/ Output/
package/DEBIAN/postinst
package.deb

View File

@ -4,6 +4,7 @@
"тулчейн", "тулчейн",
"тулчейна", "тулчейна",
"msys", "msys",
"kolibrios" "kolibrios",
"Egor"
] ]
} }

4
build-package.sh Executable file
View File

@ -0,0 +1,4 @@
cp -f install.sh package/DEBIAN/postinst
dpkg-deb --build ./package

11
package/DEBIAN/control Normal file
View File

@ -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

2
package/DEBIAN/postrm Executable file
View File

@ -0,0 +1,2 @@
rm -R /home/autobuild/tools/win32