1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
{
"name": "Lysp",
"description": "Small Lisp interpreter",
"url": "http://www.piumarta.com/software/lysp/lysp-1.1.tar.gz",
"mirror": null,
"homepage": "http://www.piumarta.com/software/lysp/",
"depends": [
{
"depend": "bdw-gc",
"build-depend": false
},
{
"depend": "gcc",
"build-depend": false
}
],
"resource": [],
"conflicts": [],
"patches": [
{
"url": null,
"data": [
"diff --git a/Makefile b/Makefile\n",
"index fc3f5d9..0b0e20d 100644\n",
"--- a/Makefile\n",
"+++ b/Makefile\n",
"@@ -1,6 +1,3 @@\n",
"-CFLAGS = -O -g -Wall\n",
"-CFLAGSO = -O3 -g -Wall -DNDEBUG\n",
"-CFLAGSs = -Os -g -Wall -DNDEBUG\n",
" LDLIBS = -rdynamic\n",
" \n",
" all : lysp gclysp\n",
"@@ -10,15 +7,15 @@ lysp : lysp.c gc.c\n",
" \tsize $@\n",
" \n",
" olysp: lysp.c gc.c\n",
"-\t$(CC) $(CFLAGSO) -DBDWGC=0 -o $@ lysp.c gc.c $(LDLIBS) -ldl\n",
"+\t$(CC) $(CFLAGS) -DBDWGC=0 -o $@ lysp.c gc.c $(LDLIBS) -ldl\n",
" \tsize $@\n",
" \n",
" ulysp: lysp.c gc.c\n",
"-\t$(CC) $(CFLAGSs) -DBDWGC=0 -o $@ lysp.c gc.c $(LDLIBS) -ldl\n",
"+\t$(CC) $(CFLAGS) -DBDWGC=0 -o $@ lysp.c gc.c $(LDLIBS) -ldl\n",
" \tsize $@\n",
" \n",
" gclysp: lysp.c\n",
"-\t$(CC) $(CFLAGSO) -DBDWGC=1 -o $@ lysp.c $(LDLIBS) -lgc\n",
"+\t$(CC) $(CFLAGS) -DBDWGC=1 -o $@ lysp.c $(LDLIBS) -lgc\n",
" \tsize $@\n",
" \n",
" run : all\n"
]
}
],
"install": [
"inreplace \"Makefile\", \"-rdynamic\", \"\"",
"system \"make\", \"CC=#{ENV.cc}\"",
"bin.install \"lysp\", \"gclysp\""
],
"version": "1.1",
"file": "lysp.rb"
}
|