wok-current view 0install/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-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 }