# HG changeset patch # User Pascal Bellard # Date 1507547248 -7200 # Node ID d1bbfbf0568ca85a7c0bf5c8a411c48b9a0b4c28 # Parent b6b6a48e182949b326f764279acbb2b3fb37873f Add plsh & pypdf2 diff -r b6b6a48e1829 -r d1bbfbf0568c plsh/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plsh/receipt Mon Oct 09 13:07:28 2017 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="plsh" +VERSION="1.20130823" +CATEGORY="misc" +SHORT_DESC="A procedural language handler for PostgreSQL using any shell." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/petere/plsh" +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" + +DEPENDS="postgresql" +BUILD_DEPENDS="postgresql-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/postgresql $fs/usr/share/postgresql/extension + mkdir -p $install/usr/share/doc + cp $src/plsh.so $fs/usr/lib/postgresql + cp $src/plsh*.sql $fs/usr/share/postgresql/extension + cp $src/plsh.control $fs/usr/share/postgresql/extension + cp $src/[CNR]* $install/usr/share/doc +} diff -r b6b6a48e1829 -r d1bbfbf0568c pypdf2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pypdf2/receipt Mon Oct 09 13:07:28 2017 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="pypdf2" +VERSION="1.26.0" +CATEGORY="development" +SHORT_DESC="A utility to read and write PDFs with Python." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/mstamy2/PyPDF2" +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" + +DEPENDS="python" +BUILD_DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ + mkdir -p $install/usr/share/doc + cp $src/[CLMR]* $install/usr/share/doc +}