Added ncc deb package build support #63
6 changed files with 36 additions and 5 deletions
|
@ -1,8 +1,16 @@
|
||||||
Package: ncc
|
Source: ncc
|
||||||
|
Section: devel
|
||||||
|
Priority: optional
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Architecture: any
|
|
||||||
Maintainer: netkas <netkas@nosial.net>
|
Maintainer: netkas <netkas@nosial.net>
|
||||||
|
Build-Depends: debhelper-compat (= 13)
|
||||||
|
Standards-Version: 4.5.1
|
||||||
Homepage: https://git.n64.cc/nosial/ncc
|
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
|
||||||
Depends: php (>= 8.0), php-mbstring, php-common, php-ctype, php-curl, zlib1g, php-zip
|
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.
|
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.
|
NCC (Nosial Code Compiler) is a versatile tool designed for various tasks related to PHP development.
|
||||||
|
|
13
src/debian/install.sh
Normal file
13
src/debian/install.sh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Download redistributable source
|
||||||
|
wget -O ncc-2.0.0.tar.gz https://git.n64.cc/nosial/ncc/-/archive/dev/ncc-dev.tar.gz
|
||||||
|
|
||||||
|
# Extract and install
|
||||||
|
tar -xzvf ncc-2.0.0.tar.gz
|
||||||
|
mv ncc-dev ncc-2.0.0
|
||||||
|
cd ncc-2.0.0
|
||||||
|
make redist tar
|
||||||
|
sudo mkdir -p /usr/share/ncc
|
||||||
|
sudo tar -xzvf build/ncc_2.0.0.tar.gz -C /usr/share/ncc/
|
9
src/debian/rules
Normal file
9
src/debian/rules
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/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
src/debian/source/format
Normal file
1
src/debian/source/format
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (native)
|
Loading…
Add table
Reference in a new issue