wok view 0install/receipt @ rev 24093
Up squashfs (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 16:57:54 2021 +0000 (2021-07-27) |
parents | 11b5e93cb5f2 |
children | 73f36875e5a7 |
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="http://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 }