name = dev86
version = 0.16.18
-release = 2
+release = 5
+sup_arches = i686 x86_64
maintainer = Ben Schweikert <ben.schweikert@ipfire.org>
groups = Development/Languages
ncurses-devel
end
+ prepare_cmds
+ if [ "$(uname -m)" = "x86_64" ]; then
+ patch -Np1 -i %{DIR_SOURCE}/dev86-64bit.patch
+ fi
+ end
+
build
make bcc86 unproto copt as86 ld86 CFLAGS="%{CFLAGS}"
make -C cpp CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
make_install_targets = \
DIST=%{BUILDROOT} \
MANDIR=/usr/share/man \
- LIBDIR=/usr/lib/bcc \
+ LIBDIR=%{libdir}/bcc \
INCLDIR=/usr/include/bcc \
LOCLAPREFIX=/usr \
install install-man