wok annotate python-pysqlite/receipt @ rev 21759

mosh: use gcc83
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 19:12:58 2019 +0200 (2019-06-26)
parents 7390f8de9846
children 2e785262366d
rev   line source
claudinei@3413 1 # SliTaz package receipt.
claudinei@3413 2
claudinei@3413 3 PACKAGE="python-pysqlite"
claudinei@3413 4 SOURCE="pysqlite"
pascal@9050 5 VERSION="2.6.0"
claudinei@3413 6 CATEGORY="development"
claudinei@3413 7 SHORT_DESC="Python interface for the SQLite database"
claudinei@3413 8 MAINTAINER="sygne@ombres.eu"
pascal@15378 9 LICENSE="zlib/libpng"
claudinei@3413 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20679 11 WEB_SITE="https://pypi.org/project/$SOURCE/"
pascal@9050 12 WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL"
claudinei@3413 13
pascal@11856 14 DEPENDS="sqlite python"
pascal@15093 15 BUILD_DEPENDS="python python-dev sqlite-dev"
pascal@11856 16
claudinei@3413 17 # Rules to configure and make the package.
claudinei@3413 18 compile_rules()
claudinei@3413 19 {
slaxemulator@9067 20 cp $stuff/setup.cfg .
pascal@9050 21 python setup.py install --root=$DESTDIR
claudinei@3413 22 }
claudinei@3413 23
claudinei@3413 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3413 25 genpkg_rules()
claudinei@3413 26 {
claudinei@3413 27 mkdir -p $fs/usr
pascal@15093 28 cp -a $install/usr/lib $fs/usr
claudinei@3413 29 }