wok annotate plsh/receipt @ rev 25526
created recipe for lua5.1-mpack 1.0.9
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:18:33 2023 +0100 (20 months ago) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@20102 | 1 # SliTaz package receipt. |
pascal@20102 | 2 |
pascal@20102 | 3 PACKAGE="plsh" |
Hans-G?nter@25143 | 4 VERSION="1.20200522" |
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" |
Hans-G?nter@21687 | 9 WEB_SITE="https://github.com/petere/plsh" |
Hans-G?nter@25143 | 10 REPOLOGY="postgresql-plsh" |
Hans-G?nter@21687 | 11 |
pascal@20102 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20102 | 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@20102 | 14 |
pascal@20102 | 15 DEPENDS="postgresql" |
pascal@20102 | 16 BUILD_DEPENDS="postgresql-dev" |
pascal@20102 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@20102 | 24 # Rules to configure and make the package. |
pascal@20102 | 25 compile_rules() |
pascal@20102 | 26 { |
pascal@20102 | 27 make |
pascal@20102 | 28 } |
pascal@20102 | 29 |
pascal@20102 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20102 | 31 genpkg_rules() |
pascal@20102 | 32 { |
Hans-G?nter@21687 | 33 mkdir -p $fs/usr/lib/postgresql |
Hans-G?nter@21687 | 34 mkdir -p $fs/usr/share/postgresql/extension |
pascal@20102 | 35 mkdir -p $install/usr/share/doc |
Hans-G?nter@21687 | 36 |
Hans-G?nter@21687 | 37 cp $src/plsh.so $fs/usr/lib/postgresql |
Hans-G?nter@21687 | 38 cp $src/plsh*.sql $fs/usr/share/postgresql/extension |
Hans-G?nter@21687 | 39 cp $src/plsh.control $fs/usr/share/postgresql/extension |
Hans-G?nter@21687 | 40 cp $src/[CNR]* $install/usr/share/doc |
pascal@20102 | 41 } |