wok-current view python-pyalsaaudio/receipt @ rev 25449
BootProg/boot32.asm: floppy chs support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 12 16:35:46 2022 +0000 (23 months ago) |
parents | 076f424196b2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyalsaaudio"
4 VERSION="0.9.0"
5 CATEGORY="multimedia"
6 TAGS="audio python"
7 SHORT_DESC="ALSA wrapper for Python."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="PSL"
10 WEB_SITE="https://pypi.org/project/pyalsaaudio/"
11 REPOLOGY="python:pyalsaaudio"
13 SOURCE="pyalsaaudio"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
17 DEPENDS="alsa-lib gcc83-lib-base python"
18 BUILD_DEPENDS="alsa-lib-dev gcc83 python python-dev python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export CC=gcc-83
31 python setup.py install --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }