wok view plsh/receipt @ rev 22043

openal: post-install(): fix "sed: unmatched '|'" error
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:57:36 2019 +0300 (2019-10-22)
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 }