wok view plsh/receipt @ rev 25574

asterisk: make install-headers inserted
author Hans-G?nter Theisgen
date Sat May 13 17:20:22 2023 +0100 (18 months ago)
parents 5ea0ce1cecc0
children 0262035dc1e7
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/postgresql
34 mkdir -p $fs/usr/share/postgresql/extension
35 mkdir -p $install/usr/share/doc
37 cp $src/plsh.so $fs/usr/lib/postgresql
38 cp $src/plsh*.sql $fs/usr/share/postgresql/extension
39 cp $src/plsh.control $fs/usr/share/postgresql/extension
40 cp $src/[CNR]* $install/usr/share/doc
41 }