blob: 09c6a3ca9d4c8a1c7b727777b47124e1634bfaf6 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "PostgreSQL is a powerful, open source relational database system."
2DESCRIPTION = "\
3 PostgreSQL is an advanced Object-Relational database management system \
4 (DBMS) that supports almost all SQL constructs (including \
5 transactions, subselects and user-defined types and functions). The \
6 postgresql package includes the client programs and libraries that \
7 you'll need to access a PostgreSQL DBMS server. These PostgreSQL \
8 client programs are programs that directly manipulate the internal \
9 structure of PostgreSQL databases on a PostgreSQL server. These client \
10 programs can be located on the same machine with the PostgreSQL \
11 server, or may be on a remote machine which accesses a PostgreSQL \
12 server over a network connection. This package contains the docs \
13 in HTML for the whole package, as well as command-line utilities for \
14 managing PostgreSQL databases on a PostgreSQL server. \
15 \
16 If you want to manipulate a PostgreSQL database on a local or remote \
17 PostgreSQL server, you need this package. You also need to install \
18 this package if you're installing the postgresql-server package. \
19"
20HOMEPAGE = "http://www.postgresql.com"
Brad Bishop2d39a062019-10-28 08:33:36 -040021LICENSE = "BSD-0-Clause"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022DEPENDS = "libnsl2 zlib readline tzcode-native"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023
24ARM_INSTRUCTION_SET = "arm"
25
26SRC_URI = "http://ftp.postgresql.org/pub/source/v${PV}/${BP}.tar.bz2 \
27 file://postgresql.init \
Andrew Geissler1548c072019-02-22 16:03:50 -060028 file://postgresql-profile \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050029 file://postgresql.pam \
30 file://postgresql-setup \
31 file://postgresql.service \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050032"
33
34LEAD_SONAME = "libpq.so"
35
36# LDFLAGS for shared libraries
37export LDFLAGS_SL = "${LDFLAGS}"
38
Andrew Geissler4b7c1152020-11-30 19:55:29 -060039inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext cpan-base
Patrick Williamsb48b7b42016-08-17 15:04:38 -050040
Brad Bishop6e60e8b2018-02-01 10:27:11 -050041CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6"
Patrick Williamsddad1a12017-02-23 20:36:32 -060042
Patrick Williamsb48b7b42016-08-17 15:04:38 -050043SYSTEMD_SERVICE_${PN} = "postgresql.service"
44SYSTEMD_AUTO_ENABLE_${PN} = "disable"
45
46DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-systemctl-native', '', d)}"
47pkg_postinst_${PN} () {
48 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd sysvinit', 'true', 'false', d)}; then
49 if [ -n "$D" ]; then
50 OPTS="--root=$D"
51 fi
52 systemctl $OPTS mask postgresql-server.service
53 fi
54}
55
Brad Bishop6e60e8b2018-02-01 10:27:11 -050056enable_pam = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050057PACKAGECONFIG ??= "${enable_pam} openssl python uuid libxml tcl nls libxml perl"
58PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,"
Andrew Geissler72956ed2021-01-08 16:11:14 -060059PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl ac_cv_file__dev_urandom=yes,openssl,"
Andrew Geissler82c905d2020-04-13 13:39:40 -050060PACKAGECONFIG[python] = "--with-python,--without-python,python3,python3"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080061PACKAGECONFIG[uuid] = "--with-uuid=e2fs,--without-uuid,util-linux,"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050062PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050063PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,,"
64PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2"
65PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
66
67EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
68 --datadir=${datadir}/${BPN} \
69 --sysconfdir=${sysconfdir}/${BPN} \
70"
71EXTRA_OECONF_sh4 += "--disable-spinlocks"
72EXTRA_OECONF_aarch64 += "--disable-spinlocks"
73
Brad Bishopc342db32019-05-15 21:57:59 -040074DEBUG_OPTIMIZATION_remove_mips = " -Og"
75DEBUG_OPTIMIZATION_append_mips = " -O"
76BUILD_OPTIMIZATION_remove_mips = " -Og"
77BUILD_OPTIMIZATION_append_mips = " -O"
78
79DEBUG_OPTIMIZATION_remove_mipsel = " -Og"
80DEBUG_OPTIMIZATION_append_mipsel = " -O"
81BUILD_OPTIMIZATION_remove_mipsel = " -Og"
82BUILD_OPTIMIZATION_append_mipsel = " -O"
83
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080084PACKAGES_DYNAMIC += "^${PN}-plperl \
85 ^${PN}-pltcl \
86 ^${PN}-plpython \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050087"
88
89python populate_packages_prepend() {
90
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080091 def fill_more(name):
Patrick Williamsb48b7b42016-08-17 15:04:38 -050092 if name is None or name.strip() == "":
93 return
94
95 fpack=d.getVar('PACKAGES', False) or ""
96 fpack="${PN}-" + name + " " + fpack
Patrick Williamsb48b7b42016-08-17 15:04:38 -050097 d.setVar('PACKAGES', fpack)
98
Brad Bishop6e60e8b2018-02-01 10:27:11 -050099 conf=(d.getVar('PACKAGECONFIG') or "").split()
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500100 pack=d.getVar('PACKAGES', False) or ""
101 bb.debug(1, "PACKAGECONFIG=%s" % conf)
102 bb.debug(1, "PACKAGES1=%s" % pack )
103
104 if "perl" in conf :
105 fill_more("plperl")
106
107 if "tcl" in conf:
108 fill_more("pltcl")
109
110 if "python" in conf:
111 fill_more("plpython")
112
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500113 pack=d.getVar('PACKAGES') or ""
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500114 bb.debug(1, "PACKAGES2=%s" % pack)
115
116}
117
Brad Bishop19323692019-04-05 15:28:33 -0400118# This will make native perl use target settings (for include dirs etc.)
119export PERLCONFIGTARGET = "${@is_target(d)}"
120export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl5/${@get_perl_version(d)}/${@get_perl_arch(d)}"
121
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500122do_configure() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500123 # do_configure
124 autotools_do_configure
125
126 # do_configure_append
127 # workaround perl package related bugs
128 sed -i -e "s:-L/usr/local/lib:-L=/usr/local/lib:g" \
129 ${B}/src/Makefile.global
130 LIBPNA="\${STAGING_LIBDIR_NATIVE}/perl-native"
131 LIBNA="\${STAGING_LIBDIR_NATIVE}"
132 BLIBNA="\${STAGING_BASE_LIBDIR_NATIVE}"
133 sed -i -e "/^perl_archlibexp/s:${LIBPNA}:${STAGING_LIBDIR}:g" \
134 ${B}/src/Makefile.global
Brad Bishop19323692019-04-05 15:28:33 -0400135 sed -i -e "/^perl_privlibexp/s:${libdir}:${STAGING_LIBDIR}:g" \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500136 ${B}/src/Makefile.global
137 # remove the rpath, replace with correct lib path
138 sed -i \
139 -e "/^perl_embed_ldflags/s:-Wl,-rpath,${LIBNA}::g" \
140 -e "/^perl_embed_ldflags/s:-Wl,-rpath,${BLIBNA}::g" \
141 -e "/^perl_embed_ldflags/s:-Wl,-rpath-link,${LIBNA}::g" \
142 -e "/^perl_embed_ldflags/s:-Wl,-rpath-link,${BLIBNA}::g" \
143 -e "/^perl_embed_ldflags/s:${LIBPNA}:${STAGING_LIBDIR}:g" \
144 -e "/^perl_embed_ldflags/s:${LIBNA}:${STAGING_LIBDIR}:g" \
145 -e "/^perl_embed_ldflags/s:${BLIBNA}:${STAGING_BASELIBDIR}:g" \
146 -e "/^TCLSH/s:=.*:= ${bindir}/tclsh:g" \
147 ${B}/src/Makefile.global
148
149 if ${@bb.utils.contains('PACKAGECONFIG', 'perl', 'true', 'false', d)}; then
150 # workaround perl package's libperl.so problem
151 # we are using perlnative so this perl should have same version
152 perl_version=`perl -v 2>/dev/null | \
153 sed -n 's/This is perl.*v[a-z ]*\([0-9]\.[0-9][0-9.]*\).*$/\1/p'`
154 if [ ! -h "${STAGING_LIBDIR}/perl/$perl_version/CORE/libperl.so" -a \
155 ! -h "${STAGING_LIBDIR}/libperl.so" ]; then
156 ln -sf ../../../libperl.so.5 \
157 ${STAGING_LIBDIR}/perl/$perl_version/CORE/libperl.so
158 fi
159 fi
160}
161
162do_compile_append() {
163 oe_runmake -C contrib all
164}
165
166# server needs to configure user and group
167usernum = "28"
168groupnum = "28"
169USERADD_PACKAGES = "${PN}"
170USERADD_PARAM_${PN} = "-M -g postgres -o -r -d ${localstatedir}/lib/${BPN} \
Andrew Geissler1548c072019-02-22 16:03:50 -0600171 -s /bin/sh -c 'PostgreSQL Server' -u ${usernum} postgres"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500172GROUPADD_PARAM_${PN} = "-g ${groupnum} -o -r postgres"
173
174INITSCRIPT_PACKAGES = "${PN}"
175INITSCRIPT_NAME = "${BPN}-server"
176INITSCRIPT_PARAMS = "start 64 . stop 36 0 1 2 3 4 5 6 ."
177
178do_install_append() {
179 # install contrib
180 oe_runmake DESTDIR=${D} -C contrib install
181 # install tutorial
182 install -d -m 0755 ${D}${libdir}/${BPN}/tutorial
183 install ${B}/src/tutorial/* ${D}${libdir}/${BPN}/tutorial
184
185 # install COPYRIGHT README HISTORY
186 install -d -m 0755 ${D}${docdir}/${BPN}
Patrick Williamsddad1a12017-02-23 20:36:32 -0600187 for i in ${B}/COPYRIGHT ${B}/README ${B}/HISTORY ${B}/doc/KNOWN_BUGS ${B}/doc/MISSING_FEATURES ${B}/doc/README* ${B}/doc/bug.template; do
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500188 [ -f $i ] && install $i ${D}${docdir}/${BPN}
189 done
190
191 # install dirs and server init
192 install -d ${D}${sysconfdir}/init.d
193 install -m 0755 ${WORKDIR}/${BPN}.init ${D}${sysconfdir}/init.d/${BPN}-server
194 sed -i -e "s/^PGVERSION=.*$/PGVERSION=${PV}/g" ${D}${sysconfdir}/init.d/${BPN}-server
195 install -m 0755 ${WORKDIR}/${BPN}-setup ${D}${bindir}/${BPN}-setup
196 install -d -m 700 ${D}${localstatedir}/lib/${BPN}/data
197 install -d -m 700 ${D}${localstatedir}/lib/${BPN}/backups
Andrew Geissler1548c072019-02-22 16:03:50 -0600198 install -m 644 ${WORKDIR}/${BPN}-profile ${D}${localstatedir}/lib/${BPN}/.profile
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500199 chown -R postgres:postgres ${D}${localstatedir}/lib/${BPN}
200 # multiple server config directory
201 install -d -m 700 ${D}${sysconfdir}/default/${BPN}
202
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500203 if [ "${@d.getVar('enable_pam')}" = "pam" ]; then
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500204 install -d ${D}${sysconfdir}/pam.d
205 install -m 644 ${WORKDIR}/postgresql.pam ${D}${sysconfdir}/pam.d/postgresql
206 fi
207
208 # Install systemd unit files
209 install -d ${D}${systemd_unitdir}/system
210 install -m 0644 ${WORKDIR}/postgresql.service ${D}${systemd_unitdir}/system
211 sed -i -e 's,@BINDIR@,${bindir},g' \
212 ${D}${systemd_unitdir}/system/postgresql.service
213}
214
215SSTATE_SCAN_FILES += "Makefile.global"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800216SSTATE_SCAN_FILES_remove = "*_config"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500217
218PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800219 libecpg-compat libecpg-compat-dev \
220 libecpg libecpg-dev libecpg-staticdev libecpg-doc \
221 libpq libpq-dev libpq-staticdev \
222 libpgtypes libpgtypes-staticdev libpgtypes-dev \
223 ${PN}-contrib \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500224"
225
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800226RPROVIDES_${PN}-dbg += "libecpg-compat-dbg \
227 libecpg-dbg \
228 libpq-dbg \
229 libpgtypes-dbg \
230 ${PN}-contrib-dbg \
231 ${PN}-pltcl-dbg \
232 ${PN}-plpython-dbg \
233 ${PN}-plperl-dbg \
234 "
235
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500236FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \
237 ${localstatedir}/lib/${BPN}/data ${localstatedir}/lib/${BPN}/backups \
Andrew Geissler1548c072019-02-22 16:03:50 -0600238 ${localstatedir}/lib/${BPN}/.profile ${sysconfdir}/default/${BPN} \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500239 ${libdir}/${BPN}/dict_snowball.so ${libdir}/${BPN}/plpgsql.so \
240 ${libdir}/${BPN}/euc2004_sjis2004.so \
241 ${libdir}/${BPN}/libpqwalreceiver.so \
242 ${libdir}/${BPN}/*_and_*.so \
243 ${@'${sysconfdir}/pam.d/postgresql' \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500244 if 'pam' == d.getVar('enable_pam') \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500245 else ''} \
246"
247
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500248FILES_${PN}-client = "${bindir}/clusterdb \
249 ${bindir}/createdb \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500250 ${bindir}/createuser \
251 ${bindir}/dropdb \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500252 ${bindir}/dropuser \
253 ${bindir}/pg_dump \
254 ${bindir}/pg_dumpall \
255 ${bindir}/pg_restore \
256 ${bindir}/psql \
257 ${bindir}/reindexdb \
258 ${bindir}/vacuumdb \
259 ${bindir}/vacuumlo \
260 ${datadir}/${BPN}/psqlrc.sample \
261"
262FILES_${PN}-client-doc = "${mandir}/man1/clusterdb.* \
263 ${mandir}/man1/createdb.* ${mandir}/man1/createlang.* \
264 ${mandir}/man1/createuser.* ${mandir}/man1/dropdb.* \
265 ${mandir}/man1/droplang.* ${mandir}/man1/dropuser.* \
266 ${mandir}/man1/pg_dump.* ${mandir}/man1/pg_dumpall.* \
267 ${mandir}/man1/pg_restore.* ${mandir}/man1/psql.* \
268 ${mandir}/man1/reindexdb.* ${mandir}/man1/vacuumdb.* \
269 ${mandir}/man7/* \
270"
271FILES_${PN}-doc += "${docdir}/${BPN}/html ${libdir}/${BPN}/tutorial/ \
272 ${mandir}/man1/initdb.* ${mandir}/man1/pg_controldata.* \
273 ${mandir}/man1/pg_ctl.* ${mandir}/man1/pg_resetxlog.* \
274 ${mandir}/man1/postgres.* ${mandir}/man1/postmaster.* \
275"
276FILES_${PN}-timezone = "${datadir}/${BPN}/timezone \
277 ${datadir}/${BPN}/timezonesets \
278"
279RDEPENDS_${PN} += "${PN}-timezone"
Brad Bishop15ae2502019-06-18 21:44:24 -0400280FILES_${PN}-server-dev = "${includedir}/${BPN}/server \
281 ${libdir}/${BPN}/pgxs \
282"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500283
284FILES_libecpg = "${libdir}/libecpg*${SOLIBS}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500285FILES_libecpg-dev = "${libdir}/libecpg*${SOLIBSDEV} \
286 ${libdir}/libpgtypes*${SOLIBSDEV} \
287 ${includedir}/ecpg*.h ${includedir}/${BPN}/ecpg*.h \
288 ${includedir}/pgtypes*.h ${includedir}/${BPN}/informix \
289 ${includedir}/sql3types.h ${includedir}/sqlca.h \
290"
291FILES_libecpg-doc = "${mandir}/man1/ecpg.*"
292FILES_libecpg-staticdev = "${libdir}/libecpg*.a"
293SECTION_libecpg-staticdev = "devel"
294RDEPENDS_libecpg-staticdev = "libecpg-dev (= ${EXTENDPKGV})"
295
296FILES_libpq = "${libdir}/libpq*${SOLIBS}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500297FILES_libpq-dev = "${libdir}/libpq*${SOLIBSDEV} \
298 ${includedir} \
299"
300FILES_libpq-staticdev = "${libdir}/libpq*.a ${libdir}/libpgport.a"
301SECTION_libpq-staticdev = "devel"
302RDEPENDS_libpq-staticdev = "libpq-dev (= ${EXTENDPKGV})"
303
304FILES_libecpg-compat = "${libdir}/libecpg_compat*${SOLIBS}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500305FILES_libecpg-compat-dev = "${libdir}/libecpg_compat*${SOLIBS}"
306FILES_libpgtypes = "${libdir}/libpgtypes*${SOLIBS}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500307FILES_libpgtypes-staticdev = "${libdir}/libpgtypes*.a"
308FILES_libpgtypes-dev = "${libdir}/libpgtypes*${SOLIBS} ${includedir}/pgtypes*.h"
309
310FILES_${PN}-contrib = " ${bindir}/oid2name ${bindir}/pg_standby \
Andrew Geisslerd221e032020-07-10 16:13:21 -0500311 ${bindir}/pgbench \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500312 ${S}/contrib/spi/*.example \
313 ${libdir}/${BPN}/_int.so ${libdir}/${BPN}/adminpack.so \
314 ${libdir}/${BPN}/autoinc.so ${libdir}/${BPN}/auto_explain.so \
315 ${libdir}/${BPN}/auth_delay.so ${libdir}/${BPN}/btree_gin.so \
316 ${libdir}/${BPN}/btree_gist.so ${libdir}/${BPN}/.so \
317 ${libdir}/${BPN}/chkpass.so ${libdir}/${BPN}/citext.so \
318 ${libdir}/${BPN}/cube.so ${libdir}/${BPN}/dblink.so \
319 ${libdir}/${BPN}/dict_int.so ${libdir}/${BPN}/dict_xsyn.so \
320 ${libdir}/${BPN}/dummy_seclabel.so ${libdir}/${BPN}/earthdistance.so \
321 ${libdir}/${BPN}/file_fdw.so ${libdir}/${BPN}/fuzzystrmatch.so \
322 ${libdir}/${BPN}/hstore.so ${libdir}/${BPN}/insert_username.so \
323 ${libdir}/${BPN}/isn.so ${libdir}/${BPN}/lo.so \
324 ${libdir}/${BPN}/ltree.so ${libdir}/${BPN}/moddatetime.so \
325 ${libdir}/${BPN}/pageinspect.so ${libdir}/${BPN}/pg_buffercache.so \
326 ${libdir}/${BPN}/pg_freespacemap.so ${libdir}/${BPN}/pg_trgm.so \
327 ${libdir}/${BPN}/pgcrypto.so ${libdir}/${BPN}/pgrowlocks.so \
328 ${libdir}/${BPN}/pgstattuple.so ${libdir}/${BPN}/pg_stat_statements.so \
329 ${libdir}/${BPN}/refint.so ${libdir}/${BPN}/seg.so \
330 ${libdir}/${BPN}/sslinfo.so \
331 ${libdir}/${BPN}/tablefunc.so \
332 ${libdir}/${BPN}/test_parser.so ${libdir}/${BPN}/timetravel.so \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500333 ${libdir}/${BPN}/uuid-ossp.so \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500334 ${libdir}/${BPN}/pgxml.so ${libdir}/${BPN}/passwordcheck.so \
335 ${libdir}/${BPN}/pg_upgrade_support.so ${libdir}/${BPN}/.so \
336 ${libdir}/${BPN}/unaccent.so \
337"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500338DESCRIPTION_${PN}-contrib = "The postgresql-contrib package contains \
339 contributed packages that are included in the PostgreSQL distribution."
340
341FILES_${PN}-pltcl = "${libdir}/${BPN}/pltcl.so ${bindir}/pltcl_delmod \
342 ${binddir}/pltcl_listmod ${bindir}/pltcl_loadmod \
343 ${datadir}/${BPN}/unknown.pltcl"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500344SUMMARY_${PN}-pltcl = "The Tcl procedural language for PostgreSQL"
345DESCRIPTION_${PN}-pltcl = "PostgreSQL is an advanced Object-Relational \
346 database management system. The postgresql-pltcl package contains the PL/Tcl \
347 procedural language for the backend."
348
349FILES_${PN}-plperl = "${libdir}/${BPN}/plperl.so"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500350SUMMARY_${PN}-plperl = "The Perl procedural language for PostgreSQL"
351DESCRIPTION_${PN}-plperl = "PostgreSQL is an advanced Object-Relational \
352 database management system. The postgresql-plperl package contains the \
353 PL/Perl procedural language for the backend."
354
355# In version 8, it will be plpython.so
356# In version 9, it might be plpython{2,3}.so depending on python2 or 3
357FILES_${PN}-plpython = "${libdir}/${BPN}/plpython*.so"
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500358SUMMARY_${PN}-plpython = "The Python procedural language for PostgreSQL"
359DESCRIPTION_${PN}-plpython = "PostgreSQL is an advanced Object-Relational \
360 database management system. The postgresql-plpython package contains \
361 the PL/Python procedural language for the backend."