wok annotate gaupol/receipt @ rev 25638
Up tinyssh (20240101 CVE-2023-48795)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 05 10:31:44 2024 +0000 (10 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
claudinei@2898 | 1 # SliTaz package receipt. |
claudinei@2898 | 2 |
claudinei@2898 | 3 PACKAGE="gaupol" |
Hans-G?nter@22799 | 4 VERSION="1.7" |
claudinei@2898 | 5 CATEGORY="multimedia" |
Hans-G?nter@22799 | 6 SHORT_DESC="An editor for text-based subtitle files." |
claudinei@2898 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
Hans-G?nter@22799 | 9 WEB_SITE="https://otsaloma.io/gaupol/" |
Hans-G?nter@22799 | 10 |
claudinei@2898 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22799 | 12 WGET_URL="https://github.com/otsaloma/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@14999 | 13 |
claudinei@2898 | 14 SUGGESTED="mplayer" |
Hans-G?nter@22799 | 15 DEPENDS="py3k pygtk" |
Hans-G?nter@22799 | 16 BUILD_DEPENDS="gettext intltool py3k-dev" |
claudinei@2898 | 17 |
pascal@25599 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25599 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
claudinei@2898 | 25 # Rules to configure and make the package. |
claudinei@2898 | 26 compile_rules() |
claudinei@2898 | 27 { |
Hans-G?nter@23220 | 28 python3 setup.py clean install --prefix=$install/usr |
claudinei@2898 | 29 } |
claudinei@2898 | 30 |
claudinei@2898 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2898 | 32 genpkg_rules() |
claudinei@2898 | 33 { |
Hans-G?nter@22799 | 34 PYTHON_LIB=python$(grep ^VERSION= $WOK/py3k/receipt | sed 's/.*"\(...\).*/\1/') |
claudinei@14897 | 35 sed -i 's|/home/slitaz/wok/gaupol/install||g' \ |
claudinei@14897 | 36 $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py |
Hans-G?nter@22799 | 37 |
Hans-G?nter@22799 | 38 cp -a $install/usr $fs |
claudinei@2898 | 39 } |