1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 maintainer = Ben Schweikert <ben.schweikert@ipfire.org>
11 groups = Development/Languages
12 url = http://www.debath.co.uk/dev86/
14 summary = Cross development C compiler.
17 This is a cross development C compiler, assembler and linker
18 environment for the production of 8086 executables
19 (Optionally MSDOS COM)
22 source_dl = http://www.debath.co.uk/dev86/
23 sources = Dev86src-%{version}.tar.gz
31 if [ "$(uname -m)" = "x86_64" ]; then
32 patch -Np1 -i %{DIR_SOURCE}/dev86-64bit.patch
37 make bcc86 unproto copt as86 ld86 CFLAGS="%{CFLAGS}"
38 make -C cpp CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
39 make -C ar CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
40 make -C ld CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
42 # ncc doesn't support gcc optflags and no parallel build
46 make_install_targets = \
48 MANDIR=/usr/share/man \
49 LIBDIR=%{libdir}/bcc \
50 INCLDIR=/usr/include/bcc \
55 # Remove useless files.
56 rm -rf %{BUILDROOT}/usr/share/{applications,pixmaps}
67 package %{name}-debuginfo