wok annotate 0install/receipt @ rev 25086
created recipe for sylpheed-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:42:13 2022 +0100 (2022-06-17) |
parents | 11b5e93cb5f2 |
children | 73f36875e5a7 |
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@13776 | 12 WGET_URL="http://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@24093 | 17 current_version() |
pascal@24093 | 18 { |
pascal@24093 | 19 wget -O - https://github.com/0install/0install/releases 2>/dev/null | \ |
pascal@24093 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24093 | 21 } |
pascal@24093 | 22 |
pascal@13591 | 23 # Rules to configure and make the package. |
pascal@13591 | 24 compile_rules() |
pascal@13591 | 25 { |
pascal@13591 | 26 python setup.py install --root=$DESTDIR |
al@18803 | 27 # move man pages in a right place |
al@18803 | 28 mv $install/usr/man $install/usr/share |
pascal@13591 | 29 } |
pascal@13591 | 30 |
al@18077 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18077 | 32 genpkg_rules() |
pascal@13591 | 33 { |
pascal@13591 | 34 cp -a $install/* $fs |
pascal@13591 | 35 } |