wok-6.x view plsh/receipt @ rev 23058
Up claws-mail-perl (3.17.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 07 17:11:49 2020 +0100 (2020-03-07) |
parents | d1bbfbf0568c |
children | 5ea0ce1cecc0 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/postgresql
27 mkdir -p $fs/usr/share/postgresql/extension
28 mkdir -p $install/usr/share/doc
30 cp $src/plsh.so $fs/usr/lib/postgresql
31 cp $src/plsh*.sql $fs/usr/share/postgresql/extension
32 cp $src/plsh.control $fs/usr/share/postgresql/extension
33 cp $src/[CNR]* $install/usr/share/doc
34 }