wok-current annotate suplemon/receipt @ rev 24970

created recipe for midori-lang
author Hans-G?nter Theisgen
date Tue Apr 26 14:49:30 2022 +0100 (2022-04-26)
parents 77f55b91fb63
children
rev   line source
paul@18292 1 # SliTaz package receipt.
paul@18292 2
paul@18292 3 PACKAGE="suplemon"
Hans-G?nter@21991 4 VERSION="0.2.0"
paul@18292 5 CATEGORY="utilities"
paul@18292 6 SHORT_DESC="Console text editor with multi cursor support."
paul@18292 7 MAINTAINER="paul@slitaz.org"
paul@18292 8 LICENSE="MIT"
paul@18292 9 WEB_SITE="https://github.com/richrd/suplemon"
Hans-G?nter@21991 10
Hans-G?nter@21991 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21991 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
paul@18292 13
paul@18292 14 DEPENDS="py3k"
Hans-G?nter@21991 15 BUILD_DEPENDS="py3k-dev"
paul@18292 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
paul@18292 23 # Rules to configure and make the package.
paul@18292 24 compile_rules()
paul@18292 25 {
paul@18292 26 python3 setup.py install --root=$DESTDIR
paul@18292 27 }
paul@18292 28
paul@18292 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18292 30 genpkg_rules()
paul@18292 31 {
paul@18292 32 cp -a $install/usr $fs
paul@18292 33 }