Skip to content

Commit

Permalink
new package: smallerc
Browse files Browse the repository at this point in the history
This adds SmallerC C compiler.
It is cross-platform, and under Termux can be used to
compile for dosbox. It is also used with dosemu2, which
I am also planning to submit.
  • Loading branch information
stsp committed Dec 15, 2024
1 parent 3dbda88 commit 804ee6a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/smallerc/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
TERMUX_PKG_HOMEPAGE=https://github.com/alexfru/SmallerC
TERMUX_PKG_DESCRIPTION="Simple and small C compiler for DOS, Windows, Linux and MacOS"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@stsp"
TERMUX_PKG_VERSION=1.0.2
TERMUX_PKG_SRCURL=https://github.com/alexfru/SmallerC/archive/refs/tags/v${TERMUX_PKG_VERSION}+dos.win.b120a9c.tar.gz
TERMUX_PKG_SHA256=1e26ed8da461614da26379b7be1510f0e39f52a292fd0d9e54d747664f0c7ef4
TERMUX_PKG_DEPENDS="nasm"

termux_step_make() {
make prefix=$PREFIX
}

termux_step_make_install() {
make install prefix=$PREFIX
}

0 comments on commit 804ee6a

Please sign in to comment.