File: link-with-shared

package info (click to toggle)
libncursesada 6.3.20211021-13
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,428 kB
  • sloc: ada: 9,968; sh: 3,382; makefile: 893; ansic: 702; awk: 68
file content (20 lines) | stat: -rw-r--r-- 338 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -C -e -f -u
cd "$AUTOPKGTEST_TMP"

cat > main.adb <<EOF
with Ada.Text_IO;
with Terminal_Interface.Curses;
procedure Main is
begin
   Ada.Text_IO.Put_Line (Terminal_Interface.Curses.NC_Version);
end Main;
EOF
cat > p.gpr <<EOF
with "ncursesada";
project P is
   for Main use ("main.adb");
end P;
EOF
gprbuild -v p.gpr
./main