wok annotate gaupol/receipt @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents a79df5936e70
children 20ad21d5532c
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@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
claudinei@2898 24 # Rules to configure and make the package.
claudinei@2898 25 compile_rules()
claudinei@2898 26 {
Hans-G?nter@23220 27 python3 setup.py clean install --prefix=$install/usr
claudinei@2898 28 }
claudinei@2898 29
claudinei@2898 30 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@2898 31 genpkg_rules()
claudinei@2898 32 {
Hans-G?nter@22799 33 PYTHON_LIB=python$(grep ^VERSION= $WOK/py3k/receipt | sed 's/.*"\(...\).*/\1/')
claudinei@14897 34 sed -i 's|/home/slitaz/wok/gaupol/install||g' \
claudinei@14897 35 $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py
Hans-G?nter@22799 36
Hans-G?nter@22799 37 cp -a $install/usr $fs
claudinei@2898 38 }