wok annotate 0install/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (6 weeks ago) |
parents | 73f36875e5a7 |
children |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="0install" |
devl547@13767 | 4 VERSION="1.13" |
pascal@13591 | 5 SOURCE="zeroinstall-injector" |
pascal@13591 | 6 CATEGORY="misc" |
pascal@13591 | 7 SHORT_DESC="A decentralised cross-distribution software installation system." |
pascal@13591 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
pascal@13776 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13591 | 11 WEB_SITE="http://0install.net/" |
pascal@25540 | 12 WGET_URL="https://downloads.sf.net/project/zero-install/$PACKAGE/$VERSION/$TARBALL" |
pascal@13591 | 13 |
pascal@13591 | 14 DEPENDS="pygtk xdg-utils" |
pascal@13591 | 15 BUILD_DEPENDS="python pygobject" |
pascal@13591 | 16 |
pascal@25597 | 17 # What is the latest version available today? |
pascal@24093 | 18 current_version() |
pascal@24093 | 19 { |
pascal@24093 | 20 wget -O - https://github.com/0install/0install/releases 2>/dev/null | \ |
pascal@25597 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24093 | 22 } |
pascal@24093 | 23 |
pascal@13591 | 24 # Rules to configure and make the package. |
pascal@13591 | 25 compile_rules() |
pascal@13591 | 26 { |
pascal@13591 | 27 python setup.py install --root=$DESTDIR |
al@18803 | 28 # move man pages in a right place |
al@18803 | 29 mv $install/usr/man $install/usr/share |
pascal@13591 | 30 } |
pascal@13591 | 31 |
al@18077 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18077 | 33 genpkg_rules() |
pascal@13591 | 34 { |
pascal@13591 | 35 cp -a $install/* $fs |
pascal@13591 | 36 } |