wok view plsh/receipt @ rev 24229

updated perl-ipc-run (20180523.0 -> 20200505.0)
author Hans-G?nter Theisgen
date Sun Jan 02 06:42:11 2022 +0100 (2022-01-02)
parents 2f427dd95bbc
children f67cd84ed581
line source
1 # SliTaz package receipt.
3 PACKAGE="plsh"
4 VERSION="1.20171014"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="postgresql"
15 BUILD_DEPENDS="postgresql-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/postgresql
33 mkdir -p $fs/usr/share/postgresql/extension
34 mkdir -p $install/usr/share/doc
36 cp $src/plsh.so $fs/usr/lib/postgresql
37 cp $src/plsh*.sql $fs/usr/share/postgresql/extension
38 cp $src/plsh.control $fs/usr/share/postgresql/extension
39 cp $src/[CNR]* $install/usr/share/doc
40 }