wok view fawkes/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 17bb3a5bf500 |
children | 20ad21d5532c |
line source
1 # SliTaz package receipt.
3 PACKAGE="fawkes"
4 VERSION="0.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Image 'Cloaking' for Personal Privacy."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sandlab.cs.uchicago.edu/fawkes/"
11 WGET_URL="https://github.com/Shawn-Shan/fawkes/archive/v$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-setuptools"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py install --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }