blob: 812c2aed488c42d756e01087d2d56b6966b1551e [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"
21LICENSE = "BSD"
22DEPENDS = "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 \
28 file://postgresql-bashprofile \
29 file://postgresql.pam \
30 file://postgresql-setup \
31 file://postgresql.service \
32 file://0001-Use-pkg-config-for-libxml2-detection.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050033"
34
35LEAD_SONAME = "libpq.so"
36
37# LDFLAGS for shared libraries
38export LDFLAGS_SL = "${LDFLAGS}"
39
Brad Bishop6e60e8b2018-02-01 10:27:11 -050040inherit autotools pkgconfig perlnative pythonnative useradd update-rc.d systemd gettext
Patrick Williamsb48b7b42016-08-17 15:04:38 -050041
Brad Bishop6e60e8b2018-02-01 10:27:11 -050042CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6"
Patrick Williamsddad1a12017-02-23 20:36:32 -060043
Patrick Williamsb48b7b42016-08-17 15:04:38 -050044SYSTEMD_SERVICE_${PN} = "postgresql.service"
45SYSTEMD_AUTO_ENABLE_${PN} = "disable"
46
47DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-systemctl-native', '', d)}"
48pkg_postinst_${PN} () {
49 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd sysvinit', 'true', 'false', d)}; then
50 if [ -n "$D" ]; then
51 OPTS="--root=$D"
52 fi
53 systemctl $OPTS mask postgresql-server.service
54 fi
55}
56
Brad Bishop6e60e8b2018-02-01 10:27:11 -050057enable_pam = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050058PACKAGECONFIG ??= "${enable_pam} openssl python uuid libxml tcl nls libxml perl"
59PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,"
60PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"
61PACKAGECONFIG[python] = "--with-python,--without-python,python,python"
62PACKAGECONFIG[uuid] = "--with-ossp-uuid,--without-ossp-uuid,ossp-uuid,"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050063PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050064PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,,"
65PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2"
66PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
67
68EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
69 --datadir=${datadir}/${BPN} \
70 --sysconfdir=${sysconfdir}/${BPN} \
71"
72EXTRA_OECONF_sh4 += "--disable-spinlocks"
73EXTRA_OECONF_aarch64 += "--disable-spinlocks"
74
75PACKAGES_DYNAMIC += "^${PN}-plperl ^${PN}-plperl-dbg \
76 ^${PN}-pltcl ^${PN}-pltcl-dbg \
77 ^${PN}-plpython ^${PN}-plpython-dbg \
78"
79
80python populate_packages_prepend() {
81
82 def fill_more(name, dbg=True):
83 if name is None or name.strip() == "":
84 return
85
86 fpack=d.getVar('PACKAGES', False) or ""
87 fpack="${PN}-" + name + " " + fpack
88 if dbg:
89 fpack="${PN}-" + name + "-dbg" + " " + fpack
90 d.setVar('PACKAGES', fpack)
91
Brad Bishop6e60e8b2018-02-01 10:27:11 -050092 conf=(d.getVar('PACKAGECONFIG') or "").split()
Patrick Williamsb48b7b42016-08-17 15:04:38 -050093 pack=d.getVar('PACKAGES', False) or ""
94 bb.debug(1, "PACKAGECONFIG=%s" % conf)
95 bb.debug(1, "PACKAGES1=%s" % pack )
96
97 if "perl" in conf :
98 fill_more("plperl")
99
100 if "tcl" in conf:
101 fill_more("pltcl")
102
103 if "python" in conf:
104 fill_more("plpython")
105
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500106 pack=d.getVar('PACKAGES') or ""
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500107 bb.debug(1, "PACKAGES2=%s" % pack)
108
109}
110
111do_configure() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500112 # do_configure
113 autotools_do_configure
114
115 # do_configure_append
116 # workaround perl package related bugs
117 sed -i -e "s:-L/usr/local/lib:-L=/usr/local/lib:g" \
118 ${B}/src/Makefile.global
119 LIBPNA="\${STAGING_LIBDIR_NATIVE}/perl-native"
120 LIBNA="\${STAGING_LIBDIR_NATIVE}"
121 BLIBNA="\${STAGING_BASE_LIBDIR_NATIVE}"
122 sed -i -e "/^perl_archlibexp/s:${LIBPNA}:${STAGING_LIBDIR}:g" \
123 ${B}/src/Makefile.global
124 sed -i -e "/^perl_privlibexp/s:${LIBPNA}:${STAGING_LIBDIR}:g" \
125 ${B}/src/Makefile.global
126 # remove the rpath, replace with correct lib path
127 sed -i \
128 -e "/^perl_embed_ldflags/s:-Wl,-rpath,${LIBNA}::g" \
129 -e "/^perl_embed_ldflags/s:-Wl,-rpath,${BLIBNA}::g" \
130 -e "/^perl_embed_ldflags/s:-Wl,-rpath-link,${LIBNA}::g" \
131 -e "/^perl_embed_ldflags/s:-Wl,-rpath-link,${BLIBNA}::g" \
132 -e "/^perl_embed_ldflags/s:${LIBPNA}:${STAGING_LIBDIR}:g" \
133 -e "/^perl_embed_ldflags/s:${LIBNA}:${STAGING_LIBDIR}:g" \
134 -e "/^perl_embed_ldflags/s:${BLIBNA}:${STAGING_BASELIBDIR}:g" \
135 -e "/^TCLSH/s:=.*:= ${bindir}/tclsh:g" \
136 ${B}/src/Makefile.global
137
138 if ${@bb.utils.contains('PACKAGECONFIG', 'perl', 'true', 'false', d)}; then
139 # workaround perl package's libperl.so problem
140 # we are using perlnative so this perl should have same version
141 perl_version=`perl -v 2>/dev/null | \
142 sed -n 's/This is perl.*v[a-z ]*\([0-9]\.[0-9][0-9.]*\).*$/\1/p'`
143 if [ ! -h "${STAGING_LIBDIR}/perl/$perl_version/CORE/libperl.so" -a \
144 ! -h "${STAGING_LIBDIR}/libperl.so" ]; then
145 ln -sf ../../../libperl.so.5 \
146 ${STAGING_LIBDIR}/perl/$perl_version/CORE/libperl.so
147 fi
148 fi
149}
150
151do_compile_append() {
152 oe_runmake -C contrib all
153}
154
155# server needs to configure user and group
156usernum = "28"
157groupnum = "28"
158USERADD_PACKAGES = "${PN}"
159USERADD_PARAM_${PN} = "-M -g postgres -o -r -d ${localstatedir}/lib/${BPN} \
160 -s /bin/bash -c 'PostgreSQL Server' -u ${usernum} postgres"
161GROUPADD_PARAM_${PN} = "-g ${groupnum} -o -r postgres"
162
163INITSCRIPT_PACKAGES = "${PN}"
164INITSCRIPT_NAME = "${BPN}-server"
165INITSCRIPT_PARAMS = "start 64 . stop 36 0 1 2 3 4 5 6 ."
166
167do_install_append() {
168 # install contrib
169 oe_runmake DESTDIR=${D} -C contrib install
170 # install tutorial
171 install -d -m 0755 ${D}${libdir}/${BPN}/tutorial
172 install ${B}/src/tutorial/* ${D}${libdir}/${BPN}/tutorial
173
174 # install COPYRIGHT README HISTORY
175 install -d -m 0755 ${D}${docdir}/${BPN}
Patrick Williamsddad1a12017-02-23 20:36:32 -0600176 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 -0500177 [ -f $i ] && install $i ${D}${docdir}/${BPN}
178 done
179
180 # install dirs and server init
181 install -d ${D}${sysconfdir}/init.d
182 install -m 0755 ${WORKDIR}/${BPN}.init ${D}${sysconfdir}/init.d/${BPN}-server
183 sed -i -e "s/^PGVERSION=.*$/PGVERSION=${PV}/g" ${D}${sysconfdir}/init.d/${BPN}-server
184 install -m 0755 ${WORKDIR}/${BPN}-setup ${D}${bindir}/${BPN}-setup
185 install -d -m 700 ${D}${localstatedir}/lib/${BPN}/data
186 install -d -m 700 ${D}${localstatedir}/lib/${BPN}/backups
187 install -m 644 ${WORKDIR}/${BPN}-bashprofile ${D}${localstatedir}/lib/${BPN}/.bash_profile
188 chown -R postgres:postgres ${D}${localstatedir}/lib/${BPN}
189 # multiple server config directory
190 install -d -m 700 ${D}${sysconfdir}/default/${BPN}
191
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500192 if [ "${@d.getVar('enable_pam')}" = "pam" ]; then
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500193 install -d ${D}${sysconfdir}/pam.d
194 install -m 644 ${WORKDIR}/postgresql.pam ${D}${sysconfdir}/pam.d/postgresql
195 fi
196
197 # Install systemd unit files
198 install -d ${D}${systemd_unitdir}/system
199 install -m 0644 ${WORKDIR}/postgresql.service ${D}${systemd_unitdir}/system
200 sed -i -e 's,@BINDIR@,${bindir},g' \
201 ${D}${systemd_unitdir}/system/postgresql.service
202}
203
204SSTATE_SCAN_FILES += "Makefile.global"
205
206PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \
207 libecpg-compat-dbg libecpg-compat libecpg-compat-dev \
208 libecpg-dbg libecpg libecpg-dev libecpg-staticdev libecpg-doc \
209 libpq-dbg libpq libpq-dev libpq-staticdev \
210 libpgtypes-dbg libpgtypes libpgtypes-staticdev libpgtypes-dev \
211 ${PN}-contrib ${PN}-contrib-dbg \
212"
213
214FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \
215 ${localstatedir}/lib/${BPN}/data ${localstatedir}/lib/${BPN}/backups \
216 ${localstatedir}/lib/${BPN}/.bash_profile ${sysconfdir}/default/${BPN} \
217 ${libdir}/${BPN}/dict_snowball.so ${libdir}/${BPN}/plpgsql.so \
218 ${libdir}/${BPN}/euc2004_sjis2004.so \
219 ${libdir}/${BPN}/libpqwalreceiver.so \
220 ${libdir}/${BPN}/*_and_*.so \
221 ${@'${sysconfdir}/pam.d/postgresql' \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500222 if 'pam' == d.getVar('enable_pam') \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500223 else ''} \
224"
225
226FILES_${PN}-dbg += " ${libdir}/${BPN}/.debug/dict_snowball.so \
227 ${libdir}/${BPN}/.debug/plpgsql.so \
228 ${libdir}/${BPN}/.debug/euc2004_sjis2004.so \
229 ${libdir}/${BPN}/.debug/libpqwalreceiver.so \
230 ${libdir}/${BPN}/.debug/*_and_*.so \
231"
232
233FILES_${PN}-client = "${bindir}/clusterdb \
234 ${bindir}/createdb \
235 ${bindir}/createlang \
236 ${bindir}/createuser \
237 ${bindir}/dropdb \
238 ${bindir}/droplang \
239 ${bindir}/dropuser \
240 ${bindir}/pg_dump \
241 ${bindir}/pg_dumpall \
242 ${bindir}/pg_restore \
243 ${bindir}/psql \
244 ${bindir}/reindexdb \
245 ${bindir}/vacuumdb \
246 ${bindir}/vacuumlo \
247 ${datadir}/${BPN}/psqlrc.sample \
248"
249FILES_${PN}-client-doc = "${mandir}/man1/clusterdb.* \
250 ${mandir}/man1/createdb.* ${mandir}/man1/createlang.* \
251 ${mandir}/man1/createuser.* ${mandir}/man1/dropdb.* \
252 ${mandir}/man1/droplang.* ${mandir}/man1/dropuser.* \
253 ${mandir}/man1/pg_dump.* ${mandir}/man1/pg_dumpall.* \
254 ${mandir}/man1/pg_restore.* ${mandir}/man1/psql.* \
255 ${mandir}/man1/reindexdb.* ${mandir}/man1/vacuumdb.* \
256 ${mandir}/man7/* \
257"
258FILES_${PN}-doc += "${docdir}/${BPN}/html ${libdir}/${BPN}/tutorial/ \
259 ${mandir}/man1/initdb.* ${mandir}/man1/pg_controldata.* \
260 ${mandir}/man1/pg_ctl.* ${mandir}/man1/pg_resetxlog.* \
261 ${mandir}/man1/postgres.* ${mandir}/man1/postmaster.* \
262"
263FILES_${PN}-timezone = "${datadir}/${BPN}/timezone \
264 ${datadir}/${BPN}/timezonesets \
265"
266RDEPENDS_${PN} += "${PN}-timezone"
267FILES_${PN}-server-dev = "${includedir}/${BPN}/server"
268
269FILES_libecpg = "${libdir}/libecpg*${SOLIBS}"
270FILES_libecpg-dbg = "${libdir}/.debug/libecpg*"
271FILES_libecpg-dev = "${libdir}/libecpg*${SOLIBSDEV} \
272 ${libdir}/libpgtypes*${SOLIBSDEV} \
273 ${includedir}/ecpg*.h ${includedir}/${BPN}/ecpg*.h \
274 ${includedir}/pgtypes*.h ${includedir}/${BPN}/informix \
275 ${includedir}/sql3types.h ${includedir}/sqlca.h \
276"
277FILES_libecpg-doc = "${mandir}/man1/ecpg.*"
278FILES_libecpg-staticdev = "${libdir}/libecpg*.a"
279SECTION_libecpg-staticdev = "devel"
280RDEPENDS_libecpg-staticdev = "libecpg-dev (= ${EXTENDPKGV})"
281
282FILES_libpq = "${libdir}/libpq*${SOLIBS}"
283FILES_libpq-dbg = "${libdir}/.debug/libpq* ${libdir}/${BPN}/pgxs/src/test/regress/.debug/*"
284FILES_libpq-dev = "${libdir}/libpq*${SOLIBSDEV} \
285 ${includedir} \
286"
287FILES_libpq-staticdev = "${libdir}/libpq*.a ${libdir}/libpgport.a"
288SECTION_libpq-staticdev = "devel"
289RDEPENDS_libpq-staticdev = "libpq-dev (= ${EXTENDPKGV})"
290
291FILES_libecpg-compat = "${libdir}/libecpg_compat*${SOLIBS}"
292FILES_libecpg-compat-dbg = "${libdir}/.debug/libecpg_compat*"
293FILES_libecpg-compat-dev = "${libdir}/libecpg_compat*${SOLIBS}"
294FILES_libpgtypes = "${libdir}/libpgtypes*${SOLIBS}"
295FILES_libpgtypes-dbg = "${libdir}/.debug/libpgtypes*"
296FILES_libpgtypes-staticdev = "${libdir}/libpgtypes*.a"
297FILES_libpgtypes-dev = "${libdir}/libpgtypes*${SOLIBS} ${includedir}/pgtypes*.h"
298
299FILES_${PN}-contrib = " ${bindir}/oid2name ${bindir}/pg_standby \
300 ${bindir}/pgbench ${bindir}/vacuumlo \
301 ${S}/contrib/spi/*.example \
302 ${libdir}/${BPN}/_int.so ${libdir}/${BPN}/adminpack.so \
303 ${libdir}/${BPN}/autoinc.so ${libdir}/${BPN}/auto_explain.so \
304 ${libdir}/${BPN}/auth_delay.so ${libdir}/${BPN}/btree_gin.so \
305 ${libdir}/${BPN}/btree_gist.so ${libdir}/${BPN}/.so \
306 ${libdir}/${BPN}/chkpass.so ${libdir}/${BPN}/citext.so \
307 ${libdir}/${BPN}/cube.so ${libdir}/${BPN}/dblink.so \
308 ${libdir}/${BPN}/dict_int.so ${libdir}/${BPN}/dict_xsyn.so \
309 ${libdir}/${BPN}/dummy_seclabel.so ${libdir}/${BPN}/earthdistance.so \
310 ${libdir}/${BPN}/file_fdw.so ${libdir}/${BPN}/fuzzystrmatch.so \
311 ${libdir}/${BPN}/hstore.so ${libdir}/${BPN}/insert_username.so \
312 ${libdir}/${BPN}/isn.so ${libdir}/${BPN}/lo.so \
313 ${libdir}/${BPN}/ltree.so ${libdir}/${BPN}/moddatetime.so \
314 ${libdir}/${BPN}/pageinspect.so ${libdir}/${BPN}/pg_buffercache.so \
315 ${libdir}/${BPN}/pg_freespacemap.so ${libdir}/${BPN}/pg_trgm.so \
316 ${libdir}/${BPN}/pgcrypto.so ${libdir}/${BPN}/pgrowlocks.so \
317 ${libdir}/${BPN}/pgstattuple.so ${libdir}/${BPN}/pg_stat_statements.so \
318 ${libdir}/${BPN}/refint.so ${libdir}/${BPN}/seg.so \
319 ${libdir}/${BPN}/sslinfo.so \
320 ${libdir}/${BPN}/tablefunc.so \
321 ${libdir}/${BPN}/test_parser.so ${libdir}/${BPN}/timetravel.so \
322 ${libdir}/${BPN}/tsearch2.so ${libdir}/${BPN}/uuid-ossp.so \
323 ${libdir}/${BPN}/pgxml.so ${libdir}/${BPN}/passwordcheck.so \
324 ${libdir}/${BPN}/pg_upgrade_support.so ${libdir}/${BPN}/.so \
325 ${libdir}/${BPN}/unaccent.so \
326"
327FILES_${PN}-contrib-dbg = " \
328 ${libdir}/${BPN}/.debug/_int.so ${libdir}/${BPN}/.debug/adminpack.so \
329 ${libdir}/${BPN}/.debug/autoinc.so ${libdir}/${BPN}/.debug/auto_explain.so \
330 ${libdir}/${BPN}/.debug/auth_delay.so ${libdir}/${BPN}/.debug/btree_gin.so \
331 ${libdir}/${BPN}/.debug/btree_gist.so ${libdir}/${BPN}/.debug/.so \
332 ${libdir}/${BPN}/.debug/chkpass.so ${libdir}/${BPN}/.debug/citext.so \
333 ${libdir}/${BPN}/.debug/cube.so ${libdir}/${BPN}/.debug/dblink.so \
334 ${libdir}/${BPN}/.debug/dict_int.so ${libdir}/${BPN}/.debug/dict_xsyn.so \
335 ${libdir}/${BPN}/.debug/dummy_seclabel.so \
336 ${libdir}/${BPN}/.debug/earthdistance.so \
337 ${libdir}/${BPN}/.debug/file_fdw.so ${libdir}/${BPN}/.debug/fuzzystrmatch.so \
338 ${libdir}/${BPN}/.debug/hstore.so ${libdir}/${BPN}/.debug/insert_username.so \
339 ${libdir}/${BPN}/.debug/isn.so ${libdir}/${BPN}/.debug/lo.so \
340 ${libdir}/${BPN}/.debug/ltree.so ${libdir}/${BPN}/.debug/moddatetime.so \
341 ${libdir}/${BPN}/.debug/pageinspect.so \
342 ${libdir}/${BPN}/.debug/pg_buffercache.so \
343 ${libdir}/${BPN}/.debug/pg_freespacemap.so \
344 ${libdir}/${BPN}/.debug/pg_trgm.so \
345 ${libdir}/${BPN}/.debug/pgcrypto.so ${libdir}/${BPN}/.debug/pgrowlocks.so \
346 ${libdir}/${BPN}/.debug/pgstattuple.so \
347 ${libdir}/${BPN}/.debug/pg_stat_statements.so \
348 ${libdir}/${BPN}/.debug/refint.so ${libdir}/${BPN}/.debug/seg.so \
349 ${libdir}/${BPN}/.debug/sslinfo.so \
350 ${libdir}/${BPN}/.debug/tablefunc.so \
351 ${libdir}/${BPN}/.debug/test_parser.so ${libdir}/${BPN}/.debug/timetravel.so \
352 ${libdir}/${BPN}/.debug/tsearch2.so ${libdir}/${BPN}/.debug/uuid-ossp.so \
353 ${libdir}/${BPN}/.debug/pgxml.so ${libdir}/${BPN}/.debug/passwordcheck.so \
354 ${libdir}/${BPN}/.debug/pg_upgrade_support.so \
355 ${libdir}/${BPN}/.debug/unaccent.so \
356"
357DESCRIPTION_${PN}-contrib = "The postgresql-contrib package contains \
358 contributed packages that are included in the PostgreSQL distribution."
359
360FILES_${PN}-pltcl = "${libdir}/${BPN}/pltcl.so ${bindir}/pltcl_delmod \
361 ${binddir}/pltcl_listmod ${bindir}/pltcl_loadmod \
362 ${datadir}/${BPN}/unknown.pltcl"
363FILES_${PN}-pltcl-dbg = "${libdir}/${BPN}/.debug/pltcl.so"
364SUMMARY_${PN}-pltcl = "The Tcl procedural language for PostgreSQL"
365DESCRIPTION_${PN}-pltcl = "PostgreSQL is an advanced Object-Relational \
366 database management system. The postgresql-pltcl package contains the PL/Tcl \
367 procedural language for the backend."
368
369FILES_${PN}-plperl = "${libdir}/${BPN}/plperl.so"
370FILES_${PN}-plperl-dbg = "${libdir}/${BPN}/.debug/plperl.so"
371SUMMARY_${PN}-plperl = "The Perl procedural language for PostgreSQL"
372DESCRIPTION_${PN}-plperl = "PostgreSQL is an advanced Object-Relational \
373 database management system. The postgresql-plperl package contains the \
374 PL/Perl procedural language for the backend."
375
376# In version 8, it will be plpython.so
377# In version 9, it might be plpython{2,3}.so depending on python2 or 3
378FILES_${PN}-plpython = "${libdir}/${BPN}/plpython*.so"
379FILES_${PN}-plpython-dbg = "${libdir}/${BPN}/.debug/plpython*.so"
380SUMMARY_${PN}-plpython = "The Python procedural language for PostgreSQL"
381DESCRIPTION_${PN}-plpython = "PostgreSQL is an advanced Object-Relational \
382 database management system. The postgresql-plpython package contains \
383 the PL/Python procedural language for the backend."