]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - dev86/dev86.nm
kernel: Update to 3.15.6.
[people/ms/ipfire-3.x.git] / dev86 / dev86.nm
CommitLineData
a9b8f2e4
BS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = dev86
7version = 0.16.18
29f6ef6c 8release = 5
208ef342 9sup_arches = i686 x86_64
a9b8f2e4
BS
10
11maintainer = Ben Schweikert <ben.schweikert@ipfire.org>
12groups = Development/Languages
13url = http://www.debath.co.uk/dev86/
14license = GPL+
15summary = Cross development C compiler.
16
17description
18 This is a cross development C compiler, assembler and linker
19 environment for the production of 8086 executables
20 (Optionally MSDOS COM)
21end
22
23source_dl = http://www.debath.co.uk/dev86/
24sources = Dev86src-%{version}.tar.gz
25
26build
27 requires
28 ncurses-devel
29 end
30
2c4fd909
MT
31 prepare_cmds
32 if [ "$(uname -m)" = "x86_64" ]; then
33 patch -Np1 -i %{DIR_SOURCE}/dev86-64bit.patch
34 fi
35 end
36
a9b8f2e4
BS
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 \
2c4fd909 50 LIBDIR=%{libdir}/bcc \
a9b8f2e4
BS
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
59end
60
61packages
62 package %{name}
63
64 package %{name}-devel
65 template DEVEL
66 end
63153e2e
MT
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
a9b8f2e4 71end