wok view plsh/receipt @ rev 21502

mutagen: modified WGET_URL
author Hans-G?nter Theisgen
date Thu May 02 15:49:56 2019 +0100 (2019-05-02)
parents
children 2f427dd95bbc
line source
1 # SliTaz package receipt.
3 PACKAGE="plsh"
4 VERSION="1.20130823"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/petere/plsh"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="postgresql"
14 BUILD_DEPENDS="postgresql-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib/postgresql $fs/usr/share/postgresql/extension
26 mkdir -p $install/usr/share/doc
27 cp $src/plsh.so $fs/usr/lib/postgresql
28 cp $src/plsh*.sql $fs/usr/share/postgresql/extension
29 cp $src/plsh.control $fs/usr/share/postgresql/extension
30 cp $src/[CNR]* $install/usr/share/doc
31 }