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