mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
Ports: Add klong language port
Patch contributed by nut (casaca on IRC)
This commit is contained in:
parent
c904095333
commit
0f81e8d9af
2 changed files with 32 additions and 0 deletions
6
Ports/klong/package.sh
Executable file
6
Ports/klong/package.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash ../.port_include.sh
|
||||||
|
port=klong
|
||||||
|
version=20190926
|
||||||
|
files="http://t3x.org/klong/klong20190926.tgz klong20190926.tgz"
|
||||||
|
useconfigure=false
|
||||||
|
workdir=klong
|
26
Ports/klong/patches/klong.patch
Normal file
26
Ports/klong/patches/klong.patch
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
--- klong/Makefile.orig 2019-10-01 13:06:39.000000000 +0200
|
||||||
|
+++ klong/Makefile 2020-02-01 21:08:13.020202542 +0100
|
||||||
|
@@ -1,12 +1,12 @@
|
||||||
|
CFLAGS= -g -Wall -pedantic -O3
|
||||||
|
-CC= cc $(CFLAGS)
|
||||||
|
+CC= i686-pc-serenity-gcc $(CFLAGS)
|
||||||
|
V= 20190330
|
||||||
|
R= 20190926
|
||||||
|
|
||||||
|
# Modules to load into image file
|
||||||
|
OPTIONS=-l nstat -l nplot -l time
|
||||||
|
|
||||||
|
-all: kg klong.image
|
||||||
|
+all: kg
|
||||||
|
|
||||||
|
klong.image: kg
|
||||||
|
./kg -n $(OPTIONS) -o klong.image
|
||||||
|
@@ -48,3 +48,8 @@
|
||||||
|
|
||||||
|
mksums: clean
|
||||||
|
find . -type f | grep -v _csums | grep -v klong2015 | csum >_csums
|
||||||
|
+
|
||||||
|
+install:
|
||||||
|
+ install kg ${DESTDIR}/usr/local/bin
|
||||||
|
+ mkdir ${DESTDIR}/usr/local/lib/klong
|
||||||
|
+ install -m 644 lib/* ${DESTDIR}/usr/local/lib/klong
|
Loading…
Add table
Add a link
Reference in a new issue