wok-next annotate python-ooop/receipt @ rev 20486
outguess: fix install path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:46:52 2018 +0100 (2018-03-12) |
parents | 6c73b944e8dd |
children | 9b3461bf373c |
rev | line source |
---|---|
pascal@13538 | 1 # SliTaz package receipt. |
pascal@13538 | 2 |
pascal@13538 | 3 PACKAGE="python-ooop" |
pascal@13538 | 4 SOURCE="${PACKAGE#*-}" |
pascal@13538 | 5 VERSION="0.2.3" |
pascal@13538 | 6 CATEGORY="development" |
pascal@13538 | 7 SHORT_DESC="OpenObject on Python, a library to connect with Open ERP." |
pascal@13538 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="GPL3" |
pascal@13538 | 10 WEB_SITE="http://pypi.python.org/pypi/ooop" |
pascal@13538 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13538 | 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@13538 | 13 |
pascal@15378 | 14 DEPENDS="python" |
al@20444 | 15 BUILD_DEPENDS="python python-dev" |
pascal@15378 | 16 |
pascal@13538 | 17 # Rules to configure and make the package. |
pascal@13538 | 18 compile_rules() |
pascal@13538 | 19 { |
pascal@13538 | 20 python setup.py install --root=$DESTDIR |
pascal@13538 | 21 } |
pascal@13538 | 22 |
pascal@13538 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13538 | 24 genpkg_rules() |
pascal@13538 | 25 { |
pascal@13538 | 26 cp -a $install/usr $fs |
pascal@13538 | 27 } |