wok rev 20102
Add plsh & pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 13:07:28 2017 +0200 (2017-10-09) |
parents | b6b6a48e1829 |
children | 9dc7e658f193 |
files | plsh/receipt pypdf2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/plsh/receipt Mon Oct 09 13:07:28 2017 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="plsh" 1.7 +VERSION="1.20130823" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="A procedural language handler for PostgreSQL using any shell." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/petere/plsh" 1.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="postgresql" 1.17 +BUILD_DEPENDS="postgresql-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + make 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/lib/postgresql $fs/usr/share/postgresql/extension 1.29 + mkdir -p $install/usr/share/doc 1.30 + cp $src/plsh.so $fs/usr/lib/postgresql 1.31 + cp $src/plsh*.sql $fs/usr/share/postgresql/extension 1.32 + cp $src/plsh.control $fs/usr/share/postgresql/extension 1.33 + cp $src/[CNR]* $install/usr/share/doc 1.34 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/pypdf2/receipt Mon Oct 09 13:07:28 2017 +0200 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="pypdf2" 2.7 +VERSION="1.26.0" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="A utility to read and write PDFs with Python." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="BSD" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="https://github.com/mstamy2/PyPDF2" 2.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 2.15 + 2.16 +DEPENDS="python" 2.17 +BUILD_DEPENDS="python" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + python setup.py build 2.23 + python setup.py install --root=$DESTDIR 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + cp -a $install/usr $fs/ 2.30 + mkdir -p $install/usr/share/doc 2.31 + cp $src/[CLMR]* $install/usr/share/doc 2.32 +}