1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 sup_arches = i686 x86_64
11 maintainer = Ben Schweikert <ben.schweikert@ipfire.org>
12 groups = Development/Languages
13 url = http://www.debath.co.uk/dev86/
15 summary = Cross development C compiler.
18 This is a cross development C compiler, assembler and linker
19 environment for the production of 8086 executables
20 (Optionally MSDOS COM)
23 source_dl = http://www.debath.co.uk/dev86/
24 sources = Dev86src-%{version}.tar.gz
32 if [ "$(uname -m)" = "x86_64" ]; then
33 patch -Np1 -i %{DIR_SOURCE}/dev86-64bit.patch
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}
43 # ncc doesn't support gcc optflags and no parallel build
47 make_install_targets = \
49 MANDIR=/usr/share/man \
50 LIBDIR=%{libdir}/bcc \
51 INCLDIR=/usr/include/bcc \
56 # Remove useless files.
57 rm -rf %{BUILDROOT}/usr/share/{applications,pixmaps}
68 package %{name}-debuginfo