]>
Commit | Line | Data |
---|---|---|
a9b8f2e4 BS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = dev86 | |
7 | version = 0.16.18 | |
8 | release = 1 | |
9 | ||
10 | maintainer = Ben Schweikert <ben.schweikert@ipfire.org> | |
11 | groups = Development/Languages | |
12 | url = http://www.debath.co.uk/dev86/ | |
13 | license = GPL+ | |
14 | summary = Cross development C compiler. | |
15 | ||
16 | description | |
17 | This is a cross development C compiler, assembler and linker | |
18 | environment for the production of 8086 executables | |
19 | (Optionally MSDOS COM) | |
20 | end | |
21 | ||
22 | source_dl = http://www.debath.co.uk/dev86/ | |
23 | sources = Dev86src-%{version}.tar.gz | |
24 | ||
25 | build | |
26 | requires | |
27 | ncurses-devel | |
28 | end | |
29 | ||
30 | build | |
31 | make bcc86 unproto copt as86 ld86 CFLAGS="%{CFLAGS}" | |
32 | make -C cpp CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS} | |
33 | make -C ar CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS} | |
34 | make -C ld CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS} | |
35 | ||
36 | # ncc doesn't support gcc optflags and no parallel build | |
37 | make | |
38 | end | |
39 | ||
40 | make_install_targets = \ | |
41 | DIST=%{BUILDROOT} \ | |
42 | MANDIR=/usr/share/man \ | |
43 | LIBDIR=/usr/lib/bcc \ | |
44 | INCLDIR=/usr/include/bcc \ | |
45 | LOCLAPREFIX=/usr \ | |
46 | install install-man | |
47 | ||
48 | install_cmds | |
49 | # Remove useless files. | |
50 | rm -rf %{BUILDROOT}/usr/share/{applications,pixmaps} | |
51 | end | |
52 | end | |
53 | ||
54 | packages | |
55 | package %{name} | |
56 | ||
57 | package %{name}-devel | |
58 | template DEVEL | |
59 | end | |
60 | end |