wok-current view 0install/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | a3b6dd3aac6f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="0install"
4 VERSION="1.13"
5 SOURCE="zeroinstall-injector"
6 CATEGORY="misc"
7 SHORT_DESC="A decentralised cross-distribution software installation system."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://0install.net/"
12 WGET_URL="https://downloads.sf.net/project/zero-install/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="pygtk xdg-utils"
15 BUILD_DEPENDS="python pygobject"
17 current_version()
18 {
19 wget -O - https://github.com/0install/0install/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --root=$DESTDIR
27 # move man pages in a right place
28 mv $install/usr/man $install/usr/share
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }