]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - dev86/dev86.nm
Merge remote-tracking branch 'stevee/ppp-update'
[people/ms/ipfire-3.x.git] / dev86 / dev86.nm
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 = 5
9 sup_arches = i686 x86_64
10
11 maintainer = Ben Schweikert <ben.schweikert@ipfire.org>
12 groups = Development/Languages
13 url = http://www.debath.co.uk/dev86/
14 license = GPL+
15 summary = Cross development C compiler.
16
17 description
18 This is a cross development C compiler, assembler and linker
19 environment for the production of 8086 executables
20 (Optionally MSDOS COM)
21 end
22
23 source_dl = http://www.debath.co.uk/dev86/
24 sources = Dev86src-%{version}.tar.gz
25
26 build
27 requires
28 ncurses-devel
29 end
30
31 prepare_cmds
32 if [ "$(uname -m)" = "x86_64" ]; then
33 patch -Np1 -i %{DIR_SOURCE}/dev86-64bit.patch
34 fi
35 end
36
37 build
38 make bcc86 unproto copt as86 ld86 CFLAGS="%{CFLAGS}"
39 make -C cpp CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
40 make -C ar CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
41 make -C ld CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
42
43 # ncc doesn't support gcc optflags and no parallel build
44 make
45 end
46
47 make_install_targets = \
48 DIST=%{BUILDROOT} \
49 MANDIR=/usr/share/man \
50 LIBDIR=%{libdir}/bcc \
51 INCLDIR=/usr/include/bcc \
52 LOCLAPREFIX=/usr \
53 install install-man
54
55 install_cmds
56 # Remove useless files.
57 rm -rf %{BUILDROOT}/usr/share/{applications,pixmaps}
58 end
59 end
60
61 packages
62 package %{name}
63
64 package %{name}-devel
65 template DEVEL
66 end
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
71 end