wok-next annotate python-pyasn1/receipt @ rev 20887
Check Repology info up to p* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 13 17:30:55 2018 +0300 (2018-07-13) |
parents | d43bf7aae921 |
children | 92f1f4b98170 |
rev | line source |
---|---|
pascal@18222 | 1 # SliTaz package receipt. |
pascal@18222 | 2 |
pascal@18222 | 3 PACKAGE="python-pyasn1" |
pascal@18222 | 4 VERSION="0.1.8" |
pascal@18222 | 5 CATEGORY="development" |
pascal@18222 | 6 SHORT_DESC="ASN.1 types and codecs." |
pascal@18222 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="BSD" |
pascal@18222 | 9 WEB_SITE="https://pypi.python.org/pypi/pyasn1" |
al@20887 | 10 PACKAGE="python:pyasn1" |
al@20887 | 11 |
pascal@18222 | 12 SOURCE="pyasn1" |
pascal@18222 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@18222 | 14 WGET_URL="https://pypi.python.org/packages/source/p/pyasn1/$TARBALL" |
pascal@18222 | 15 |
pascal@18222 | 16 DEPENDS="python" |
al@20513 | 17 BUILD_DEPENDS="python-dev" |
pascal@18222 | 18 |
pascal@18222 | 19 # Rules to configure and make the package. |
pascal@18222 | 20 compile_rules() |
pascal@18222 | 21 { |
pascal@18222 | 22 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@18222 | 23 } |
pascal@18222 | 24 |
pascal@18222 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18222 | 26 genpkg_rules() |
pascal@18222 | 27 { |
pascal@18222 | 28 cp -a $install/usr $fs/ |
pascal@18222 | 29 } |