Added debian build (WIP)
This commit is contained in:
parent
d3659cb51a
commit
5b57f12365
9 changed files with 83 additions and 57 deletions
|
@ -1,9 +0,0 @@
|
|||
ncc (2.0.0) unstable; urgency=medium
|
||||
|
||||
* New major release.
|
||||
* Various changes and improvements.
|
||||
* Updated to be compatible with PHP 8.0+.
|
||||
* Added support for package management.
|
||||
* Enhancements to the compiler and toolkit.
|
||||
|
||||
-- netkas <netkas@nosial.net> Tue, 04 Oct 2023 21:24:00 +0000
|
|
@ -1,3 +1,4 @@
|
|||
Package: ncc
|
||||
Source: ncc
|
||||
Section: devel
|
||||
Priority: optional
|
||||
|
@ -8,10 +9,10 @@ Standards-Version: 4.5.1
|
|||
Homepage: https://git.n64.cc/nosial/ncc
|
||||
Vcs-Git: https://git.n64.cc/nosial/ncc.git
|
||||
Vcs-Browser: https://git.n64.cc/nosial/ncc
|
||||
|
||||
Package: ncc
|
||||
Architecture: any
|
||||
Name: Nosial Code Compiler
|
||||
Architecture: all
|
||||
Depends: php (>= 8.0), php-mbstring, php-common, php-ctype, php-curl, zlib1g, php-zip
|
||||
Description: Nosial Code Compiler is a multi-purpose compiler, package manager, and toolkit written in PHP.
|
||||
NCC (Nosial Code Compiler) is a versatile tool designed for various tasks related to PHP development.
|
||||
It allows you to compile PHP code, manage packages, and perform various tasks in a PHP-centric environment.
|
||||
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
# compile and make ta
|
||||
cd ..
|
||||
make redist tar
|
||||
|
||||
# extract compiled tar to /usr/share/ncc directory
|
||||
sudo mkdir -p /usr/share/ncc
|
||||
sudo tar -xzvf build/ncc_2.0.0.tar.gz -C /usr/share/ncc/
|
2
src/debian/postinst
Normal file
2
src/debian/postinst
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
update-mime-database /usr/share/mime
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_install:
|
||||
# Run the custom install script from debian directory
|
||||
$(CURDIR)/debian/install.sh
|
||||
dh_auto_install
|
|
@ -1 +0,0 @@
|
|||
3.0 (native)
|
Loading…
Add table
Add a link
Reference in a new issue