wok annotate fawkes/receipt @ rev 25689
updated mmv (1.01b-18 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 13 10:48:47 2024 +0100 (8 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@23918 | 1 # SliTaz package receipt. |
pascal@23918 | 2 |
pascal@23918 | 3 PACKAGE="fawkes" |
pascal@23918 | 4 VERSION="0.3" |
pascal@23918 | 5 CATEGORY="graphics" |
pascal@23918 | 6 SHORT_DESC="Image 'Cloaking' for Personal Privacy." |
pascal@23918 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@23918 | 8 LICENSE="BSD" |
pascal@23918 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23918 | 10 WEB_SITE="http://sandlab.cs.uchicago.edu/fawkes/" |
pascal@23918 | 11 WGET_URL="https://github.com/Shawn-Shan/fawkes/archive/v$VERSION.tar.gz" |
pascal@23918 | 12 |
pascal@23918 | 13 DEPENDS="python" |
pascal@23918 | 14 BUILD_DEPENDS="python-setuptools" |
pascal@23918 | 15 |
pascal@25599 | 16 # What is the latest version available today? |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25599 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@23918 | 23 # Rules to configure and make the package. |
pascal@23918 | 24 compile_rules() |
pascal@23918 | 25 { |
pascal@23918 | 26 python setup.py install --root=$DESTDIR |
pascal@23918 | 27 } |
pascal@23918 | 28 |
pascal@23918 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23918 | 30 genpkg_rules() |
pascal@23918 | 31 { |
pascal@23918 | 32 cp -a $install/usr $fs |
pascal@23918 | 33 } |