source: rtems-source-builder/source-builder/config/ntp-4-1.cfg @ 158ad68

4.11
Last change on this file since 158ad68 was 158ad68, checked in by Chris Johns <chrisj@…>, on 10/03/20 at 11:53:04

sb: Back port the RTEMS 5 and 6 RSB engine.

  • Build GDb first as we do for RTEMS 5 and later
  • Update GDB to 9.1 for all archs expect SPARC. The SIS patches only apply to 7.9. Disable Python for SPARC

Closes #4111

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#
2# NTP 4.x.x Version 1.
3#
4# This configuration file configure's, make's and install's NTP.
5#
6
7%if %{release} == %{nil}
8%define release 1
9%endif
10
11Name:      ntp-%{ntp_version}-%{_host}-%{release}
12Summary:   NTP is the Network Time Protocol.
13Version:   %{ntp_version}
14Release:   %{release}
15URL:       http://www.ntp.org/
16
17#
18# NTP Source
19#
20%source set ntp http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-%{ntp_version}.tar.gz
21
22#
23# Prepare the source code.
24#
25%prep
26  build_top=$(pwd)
27
28  source_dir_ntp="ntp-%{ntp_version}"
29  %source setup ntp -q -n ntp-%{ntp_version}
30  %patch setup ntp -p1
31
32  cd ${build_top}
33
34%build
35  build_top=$(pwd)
36
37  %{build_directory}
38
39  mkdir -p ${build_dir}
40  cd ${build_dir}
41
42  %{host_build_flags}
43
44  ../${source_dir_ntp}/configure \
45    --host=%{_host} \
46    --prefix=%{_prefix} \
47    --bindir=%{_bindir} \
48    --exec_prefix=%{_exec_prefix} \
49    --includedir=%{_includedir} \
50    --libdir=%{_libdir} \
51    --libexecdir=%{_libexecdir} \
52    --mandir=%{_mandir} \
53    --infodir=%{_infodir} \
54    --datadir=%{_datadir} \
55    --disable-ipv6 \
56    --disable-HOPFPCI
57
58  # NTP does not build on sync.rtems.org with jobs
59  # %{__make} %{?_smp_mflags} all
60  %{__make} all
61
62  cd ${build_top}
63
64%install
65  build_top=$(pwd)
66
67  %{__rmdir} $SB_BUILD_ROOT
68
69  cd ${build_dir}
70  %{__make} DESTDIR=$SB_BUILD_ROOT install
71  cd ${build_top}
Note: See TracBrowser for help on using the repository browser.