wok view plsh/receipt @ rev 25636

ruby-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 24 16:48:59 2023 +0000 (5 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 }