Ravenports generated: 10 Feb 2024 22:55
[ravenports.git] / bucket_BB / apq-pgsql
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               apq-pgsql
4 VERSION=                3.2.0
5 REVISION=               1
6 KEYWORDS=               databases ada
7 VARIANTS=               standard
8 SDESC[standard]=        APQ Ada95 MySQL database driver
9 HOMEPAGE=               none
10 CONTACT=                John_Marino[draco@marino.st]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            FREELOCAL/marino
14 DISTFILE[1]=            apq-pgsql-3.2.0.tar.bz2:main
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BUILD_DEPENDS=          bash:primary:standard
22 BUILDRUN_DEPENDS=       apq-base:single:standard
23
24 USES=                   gprbuild pgsql:client,build
25
26 LICENSE=                GMGPL:single
27 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
28 LICENSE_FILE=           GMGPL:stock
29 LICENSE_AWK=            TERMS:"^$$"
30 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/apq-postgresql-client.ads
31 LICENSE_SCHEME=         solo
32
33 MUST_CONFIGURE=         yes
34 CONFIGURE_ARGS=         --prefix={{PREFIX}}
35                         --disable-relocatable
36                         --work-path={{WRKDIR}}/build
37                         --processors={{MAKE_JOBS_NUMBER}}
38
39 post-patch:
40         ${RM} ${WRKSRC}/src/*.orig
41         ${REINPLACE_CMD} -e '/for Object_Dir/d' \
42                 ${WRKSRC}/src-in/apq-postgresql.gpr.in
43         ${REINPLACE_CMD} -e 's|processors=2|gprbuild_params="--autoconf=apq.cgpr"|' \
44                 ${WRKSRC}/configure
45         ${REINPLACE_CMD} -e 's|-ws|-ws --autoconf=dummy.cgpr|' \
46                 ${WRKSRC}/scripts/buildutil.sh
47
48 do-install:
49         ${MKDIR} ${STAGEDIR}${PREFIX}/share/gpr \
50                 ${STAGEDIR}${PREFIX}/lib/apq-postgresql/static \
51                 ${STAGEDIR}${PREFIX}/include/apq-postgresql
52         ${INSTALL_DATA} ${WRKDIR}/build/include/apq-postgresql/* \
53                 ${STAGEDIR}${PREFIX}/include/apq-postgresql
54         ${INSTALL_DATA} ${WRKDIR}/build/lib/apq-postgresql/static/*.a* \
55                 ${STAGEDIR}${PREFIX}/lib/apq-postgresql/static
56         ${INSTALL_DATA} ${WRKDIR}/build/lib/gnat/apq-postgresql.gpr \
57                 ${STAGEDIR}${PREFIX}/share/gpr
58
59 [FILE:124:descriptions/desc.single]
60 APQ is a database interface library written in Ada95, and this package
61 contains the PostgreSQL driver that is used with it.
62
63
64 [FILE:102:distinfo]
65 b2bd6b1f3eaa26fe3abb88c1d8fb408e9fcfecc02c8732428bde2236dbcb2843        51553 apq-pgsql-3.2.0.tar.bz2
66
67
68 [FILE:361:manifests/plist.single]
69 include/apq-postgresql/
70  apq-postgresql-client.adb
71  apq-postgresql-client.ads
72  apq-postgresql-decimal.adb
73  apq-postgresql-decimal.ads
74  apq-postgresql.ads
75  decimal.h
76  notices.c
77  numeric.c
78  numeric.h
79  pgtypes.h
80 lib/apq-postgresql/static/
81  apq-postgresql-client.ali
82  apq-postgresql-decimal.ali
83  apq-postgresql.ali
84  libapq-postgresql.a
85 share/gpr/apq-postgresql.gpr
86
87
88 [FILE:298:patches/patch-src_notices.c]
89 --- src/notices.c.orig  2012-04-26 16:10:18.000000000 -0500
90 +++ src/notices.c
91 @@ -31,6 +31,9 @@
92  #include <stdio.h>
93  #include <libpq-fe.h>
94  
95 +void notice_install (PGconn *, void *);
96 +void notice_uninstall (PGconn *);
97 +
98  /*
99   * Connection_Notify is an Ada procedure using C calling convention :
100   */
101
102
103 [FILE:185:patches/patch-src_numeric.c]
104 --- src/numeric.c.orig  2012-04-26 16:10:18.000000000 -0500
105 +++ src/numeric.c
106 @@ -30,6 +30,7 @@
107  
108  #include <stdlib.h>
109  #include <string.h>
110 +#include <ctype.h>
111  
112  #include "decimal.h"
113  
114