wok-6.x annotate fawkes/receipt @ rev 24073

ocaml: disable-force-safe-string
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 06:56:08 2021 +0000 (2021-07-08)
parents 17bb3a5bf500
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@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@23918 22 # Rules to configure and make the package.
pascal@23918 23 compile_rules()
pascal@23918 24 {
pascal@23918 25 python setup.py install --root=$DESTDIR
pascal@23918 26 }
pascal@23918 27
pascal@23918 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23918 29 genpkg_rules()
pascal@23918 30 {
pascal@23918 31 cp -a $install/usr $fs
pascal@23918 32 }