wok annotate plsh/receipt @ rev 20656

tazpkg: do not assume . in search path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 13 11:43:59 2019 +0100 (2019-01-13)
parents
children 2f427dd95bbc
rev   line source
pascal@20102 1 # SliTaz package receipt.
pascal@20102 2
pascal@20102 3 PACKAGE="plsh"
pascal@20102 4 VERSION="1.20130823"
pascal@20102 5 CATEGORY="misc"
pascal@20102 6 SHORT_DESC="A procedural language handler for PostgreSQL using any shell."
pascal@20102 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20102 8 LICENSE="BSD"
pascal@20102 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20102 10 WEB_SITE="https://github.com/petere/plsh"
pascal@20102 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pascal@20102 12
pascal@20102 13 DEPENDS="postgresql"
pascal@20102 14 BUILD_DEPENDS="postgresql-dev"
pascal@20102 15
pascal@20102 16 # Rules to configure and make the package.
pascal@20102 17 compile_rules()
pascal@20102 18 {
pascal@20102 19 make
pascal@20102 20 }
pascal@20102 21
pascal@20102 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20102 23 genpkg_rules()
pascal@20102 24 {
pascal@20102 25 mkdir -p $fs/usr/lib/postgresql $fs/usr/share/postgresql/extension
pascal@20102 26 mkdir -p $install/usr/share/doc
pascal@20102 27 cp $src/plsh.so $fs/usr/lib/postgresql
pascal@20102 28 cp $src/plsh*.sql $fs/usr/share/postgresql/extension
pascal@20102 29 cp $src/plsh.control $fs/usr/share/postgresql/extension
pascal@20102 30 cp $src/[CNR]* $install/usr/share/doc
pascal@20102 31 }