wok view plsh/receipt @ rev 24590

syslinux: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 14:39:39 2022 +0000 (2022-02-28)
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 }