wok view plsh/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (12 months ago)
parents f67cd84ed581
children
line source
1 # SliTaz package receipt.
3 PACKAGE="plsh"
4 VERSION="1.20200522"
5 CATEGORY="misc"
6 SHORT_DESC="A procedural language handler for PostgreSQL using any shell."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/petere/plsh"
10 REPOLOGY="postgresql-plsh"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 DEPENDS="postgresql"
16 BUILD_DEPENDS="postgresql-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/postgresql
35 mkdir -p $fs/usr/share/postgresql/extension
36 mkdir -p $install/usr/share/doc
38 cp $src/plsh.so $fs/usr/lib/postgresql
39 cp $src/plsh*.sql $fs/usr/share/postgresql/extension
40 cp $src/plsh.control $fs/usr/share/postgresql/extension
41 cp $src/[CNR]* $install/usr/share/doc
42 }